summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmExprLexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/LexerParser/cmExprLexer.cxx')
-rw-r--r--Source/LexerParser/cmExprLexer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/LexerParser/cmExprLexer.cxx b/Source/LexerParser/cmExprLexer.cxx
index 1548daf..cb24687 100644
--- a/Source/LexerParser/cmExprLexer.cxx
+++ b/Source/LexerParser/cmExprLexer.cxx
@@ -1050,7 +1050,7 @@ YY_RULE_SETUP
YY_BREAK
case 17:
YY_RULE_SETUP
-{return exp_UNEXPECTED;}
+{ yyextra->UnexpectedChar(yytext[0]); }
YY_BREAK
case 18:
YY_RULE_SETUP