From b840290ec8d4204cc00e7a3d45f4ccf6a654c8db Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 2 Aug 2019 17:38:59 +0200 Subject: warning: More #endif's than #if's found. In case in a macro substitution string the last character was a backslash this was, incorrect, not seen as a sign for a line continuation. --- src/pre.l | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pre.l b/src/pre.l index 6829a92..05a4bf0 100644 --- a/src/pre.l +++ b/src/pre.l @@ -2094,6 +2094,8 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) "//"|"/*" { g_defArgsStr+=yytext; } +\\/\n { // line continuation + } \\. { g_defArgsStr+=yytext; } -- cgit v0.12