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:
parent
d06258f74f
commit
af325bf206
2 changed files with 25 additions and 22 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue