From d1f0c6fb127abf75789154c8929698254bde9492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aksh=C4=81nsh?= <53227127+akshanshbhatt@users.noreply.github.com> Date: Thu, 16 Jun 2022 23:37:46 +0530 Subject: [PATCH] Fix the comment pattern in tokenizer. --- src/lpython/parser/tokenizer.re | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpython/parser/tokenizer.re b/src/lpython/parser/tokenizer.re index 71756a6733..ef1c99426a 100644 --- a/src/lpython/parser/tokenizer.re +++ b/src/lpython/parser/tokenizer.re @@ -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);