summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index f76b02b..74e866a 100644
--- a/variable.c
+++ b/variable.c
@@ -1419,7 +1419,7 @@ parse_variable_definition (const char *p, struct variable *var)
int c = *p++;
/* If we find a comment or EOS, it's not a variable definition. */
- if (c == '\0' || c == '#')
+ if (STOP_SET (c, MAP_COMMENT|MAP_NUL))
return NULL;
if (c == '$')