3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-27 10:55:51 +00:00

Fixed comment/eol parsing in ilang frontend

This commit is contained in:
Clifford Wolf 2014-02-01 17:28:02 +01:00
parent d06258f74f
commit af325bf206
2 changed files with 25 additions and 22 deletions

View file

@ -109,7 +109,7 @@ void update_autoidx(const char *p);
}
<STRING>. { yymore(); }
"#"[^\n]*\n /* ignore comments */
"#"[^\n]* /* ignore comments */
[ \t] /* ignore non-newline whitespaces */
[\r\n]+ { return TOK_EOL; }