diff --git a/ivlpp/lexor.lex b/ivlpp/lexor.lex index e96ecf3e7..2a34f8c74 100644 --- a/ivlpp/lexor.lex +++ b/ivlpp/lexor.lex @@ -457,7 +457,7 @@ keywords (include|define|undef|ifdef|ifndef|else|elseif|endif) \n\r | \r\n | \n | -\r { istack->lineno += 1; } +\r { istack->lineno += 1; fputc('\n', yyout); } "*/" { BEGIN(comment_enter); } [^\r\n] { }