Skip to content

Commit

Permalink
Fix the comment pattern in tokenizer.
Browse files Browse the repository at this point in the history
  • Loading branch information
akshanshbhatt committed Jun 16, 2022
1 parent 76f7ec6 commit d1f0c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lpython/parser/tokenizer.re
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ int Tokenizer::lex(Allocator &al, YYSTYPE &yylval, Location &loc, diag::Diagnost
RET(TK_IMAG_NUM)
}
comment newline {
comment {
if(parenlevel) { continue; }
line_num++; cur_line=cur;
token(yylval.string);
Expand Down

0 comments on commit d1f0c6f

Please sign in to comment.