Lines Matching +defs:variable +defs:value
86 * Try to parse the given line as a variable assignment.
88 * a target or a variable assignment. Used internally
202 const char *value; /* unexpanded */
217 * dependency line, for example because it is a variable assignment.
793 * Add the name to the .TARGETS variable as well, so the user can
1491 * Check for local variable assignment,
1492 * rest of the line is the value.
1515 * for variable changes later) and isn't
1631 * Upon return, the value of expandedLine is unspecified.
1675 * Determine the assignment operator and adjust the end of the variable
1680 const char *value)
1714 va.value = value;
1719 * Parse a variable assignment, consisting of a single-word variable name,
1721 * variable value.
1724 * in variable names. This routine interprets the character before the =
1737 cpp_skip_hspace(&p); /* Skip to variable name */
1741 * as part of the variable name. It is later corrected, as is the
1743 * determines the actual end of the variable name.
1811 /* Perform a variable assignment that uses the operator ':='. */
1819 * Make sure that we set the variable the first time to nothing
1825 * XXX: The variable name is expanded up to 3 times.
1839 /* Perform a variable assignment that uses the operator '!='. */
1862 * Perform a variable assignment.
1864 * The actual value of the variable is returned in *out_true_avalue.
1866 * value.
1869 * the case. It is only skipped if the operator is '?=' and the variable
1885 /* XXX: The variable name is expanded up to 2 times. */
1916 /* Perform the variable assignment in the given scope. */
1920 FStr avalue; /* actual value (maybe expanded) */
1922 VarCheckSyntax(var->op, var->value, scope);
1923 if (VarAssign_Eval(var->varname, var->op, var->value, scope, &avalue)) {
2258 /* Parse "export <variable>=<value>", and actually export it. */
2262 char *variable = line + 6;
2263 char *value;
2265 DEBUG1(PARSE, "ParseGmakeExport: %s\n", variable);
2267 pp_skip_whitespace(&variable);
2269 for (value = variable; *value != '\0' && *value != '='; value++)
2272 if (*value != '=') {
2277 *value++ = '\0'; /* terminate variable */
2280 * Expand the value before putting it in the environment.
2282 value = Var_Subst(value, SCOPE_CMDLINE, VARE_EVAL);
2285 setenv(variable, value, 1);
2286 free(value);
2316 if (he->value != NULL) {
2317 free(((Guard *)he->value)->name);
2318 free(he->value);
2601 * Empty lines, .if and .for are handled by this function, while variable
2998 Guard *guard = hi.entry->value;