mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 21:03:40 +00:00
* verilog: fix string literal regular expression. A backslash was improperly quoted, causing string literal matching to fail when the final token before a closing quote was an escaped backslash. * verilog: add regression test for string literal regex bug. Test for bug triggered by escaped backslash immediately before closing quote (introduced inca7d94af
and fixed by40aa7eaf
).
5 lines
169 B
Verilog
5 lines
169 B
Verilog
// Regression test for bug mentioned in #5160:
|
|
// https://github.com/YosysHQ/yosys/pull/5160#issuecomment-2983643084
|
|
module top;
|
|
initial $display( "\\" );
|
|
endmodule
|