summaryrefslogtreecommitdiff
path: root/variable.h
diff options
context:
space:
mode:
Diffstat (limited to 'variable.h')
-rw-r--r--variable.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/variable.h b/variable.h
index 806f9e1..15661b5 100644
--- a/variable.h
+++ b/variable.h
@@ -57,17 +57,19 @@ struct variable
char *value; /* Variable value. */
struct floc fileinfo; /* Where the variable was defined. */
unsigned int recursive:1; /* Gets recursively re-evaluated. */
- unsigned int expanding:1; /* Nonzero if currently being expanded. */
- unsigned int exp_count:EXP_COUNT_BITS;
- /* If >1, allow this many self-referential
- expansions */
unsigned int per_target:1; /* Nonzero if a target-specific variable. */
unsigned int append:1; /* Nonzero if an appending target-specific
variable. */
+ unsigned int expanding:1; /* Nonzero if currently being expanded. */
+ unsigned int exp_count:EXP_COUNT_BITS;
+ /* If >1, allow this many self-referential
+ expansions. */
enum variable_origin
origin ENUM_BITFIELD (3); /* Variable origin. */
+ unsigned int exportable:1; /* Nonzero if the variable _could_ be
+ exported. */
enum variable_export
{
v_export, /* Export this variable. */