summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib/mix_scanner.l')
-rw-r--r--mixlib/mix_scanner.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/mixlib/mix_scanner.l b/mixlib/mix_scanner.l
index c98d0b2..c6ed5d8 100644
--- a/mixlib/mix_scanner.l
+++ b/mixlib/mix_scanner.l
@@ -314,6 +314,8 @@ wexpr {expr}({fpart})?(,{expr}({fpart})?)*
if ( !mix_symbol_table_is_defined (parser->symbol_table, s) )
{
mix_parser_set_future_ref (parser, s);
+ if (neg)
+ mix_parser_log_error (parser, MIX_PERR_UNDEF_SYM, lineno, s, TRUE);
unput (neg? '1':'0');
}
else