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:
parent
dc204dc909
commit
bb08919105
2 changed files with 1 additions and 6 deletions
|
@ -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);
|
||||||
|
|
|
@ -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
|
|
Loading…
Add table
Add a link
Reference in a new issue