diff options
author | Paul Smith <psmith@gnu.org> | 1999-11-17 07:33:47 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-11-17 07:33:47 +0000 |
commit | ebb733c0f9ab045b6fd6245df2baf2e87463e1bc (patch) | |
tree | bf5d793b4cc99724673804160f2e5e73889da8cc /variable.h | |
parent | 3e26bde6dbc9a8a46d5a1a694e6810e689cbd25a (diff) | |
download | gunmake-ebb733c0f9ab045b6fd6245df2baf2e87463e1bc.tar.gz |
* Many cleanups and bugfixes.
* New handling of += in target-specific variables.
Diffstat (limited to 'variable.h')
-rw-r--r-- | variable.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -45,6 +45,8 @@ struct variable unsigned int recursive:1; /* Gets recursively re-evaluated. */ unsigned int expanding:1; /* Nonzero if currently being expanded. */ unsigned int per_target:1; /* Nonzero if a target-specific variable. */ + unsigned int append:1; /* Nonzero if an appending target-specific + variable. */ enum variable_export { v_export, /* Export this variable. */ @@ -103,7 +105,7 @@ extern void initialize_file_variables PARAMS ((struct file *file)); extern void print_file_variables PARAMS ((struct file *file)); extern void print_variable_set PARAMS ((struct variable_set *set, char *prefix)); extern void merge_variable_set_lists PARAMS ((struct variable_set_list **setlist0, struct variable_set_list *setlist1)); -extern struct variable *try_variable_definition PARAMS ((const struct floc *flocp, char *line, enum variable_origin origin)); +extern struct variable *try_variable_definition PARAMS ((const struct floc *flocp, char *line, enum variable_origin origin, int target_var)); extern struct variable *lookup_variable PARAMS ((char *name, unsigned int length)); extern struct variable *define_variable PARAMS ((char *name, unsigned int length, char *value, |