aboutsummaryrefslogtreecommitdiffstats
path: root/src/ucl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ucl')
-rw-r--r--src/ucl/src/ucl_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ucl/src/ucl_parser.c b/src/ucl/src/ucl_parser.c
index f819edee6..ffcd58902 100644
--- a/src/ucl/src/ucl_parser.c
+++ b/src/ucl/src/ucl_parser.c
@@ -1676,7 +1676,7 @@ ucl_state_machine (struct ucl_parser *parser)
}
macro_len = ucl_expand_variable (parser, &macro_escaped, macro_start, macro_len);
parser->state = UCL_STATE_AFTER_VALUE;
- if (macro_escaped == macro_start) {
+ if (macro_escaped == NULL) {
if (!macro->handler (macro_start, macro_len, macro->ud)) {
return false;
}