3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-21 03:42:06 +00:00

Revert "verilog: fix string literal regular expression (#5187)"

This reverts commit 834a7294b7.
This commit is contained in:
Emil J. Tywoniak 2025-07-10 21:15:38 +02:00
parent dc204dc909
commit bb08919105
2 changed files with 1 additions and 6 deletions

View file

@ -336,7 +336,7 @@ TIME_SCALE_SUFFIX [munpf]?s
} }
\" { BEGIN(STRING); } \" { BEGIN(STRING); }
<STRING>([^\\"]|\\.)+ { yymore(); real_location = old_location; } <STRING>([^\"]|\\.)+ { yymore(); real_location = old_location; }
<STRING>\" { <STRING>\" {
BEGIN(0); BEGIN(0);
char *yystr = strdup(yytext); char *yystr = strdup(yytext);

View file

@ -1,5 +0,0 @@
// Regression test for bug mentioned in #5160:
// https://github.com/YosysHQ/yosys/pull/5160#issuecomment-2983643084
module top;
initial $display( "\\" );
endmodule