diff --git a/lexor.lex b/lexor.lex index c487bd28a..34eca1c0b 100644 --- a/lexor.lex +++ b/lexor.lex @@ -124,8 +124,8 @@ S [afpnumkKMGT] /* The contents of C-style comments are ignored, like white space. */ "/*" { comment_enter = YY_START; BEGIN(CCOMMENT); } -. { yymore(); } -\n { yylloc.first_line += 1; yymore(); } +. { ; } +\n { yylloc.first_line += 1; } "*/" { BEGIN(comment_enter); }