3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-20 11:22:05 +00:00
yosys/frontends/verilog
garytwong a519390fc4 verilog: fix string literal regular expression (#5187)
* 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 in ca7d94af and fixed by 40aa7eaf).
2025-07-10 23:16:50 +02:00
..
.gitignore read_verilog, ast: use unified locations in errors and simplify dependencies 2025-07-10 21:15:50 +02:00
const2ast.cc ast, read_verilog: unify location types, reduce filename copying 2025-07-10 21:15:50 +02:00
Makefile.inc read_verilog, ast: use unified locations in errors and simplify dependencies 2025-07-10 21:15:50 +02:00
preproc.cc preproc.cc: Use full path for generated file 2025-07-10 21:15:50 +02:00
preproc.h ast, read_verilog: ownership in AST, use C++ styles for parser and lexer 2025-07-10 21:15:50 +02:00
verilog_error.cc read_verilog, ast: use unified locations in errors and simplify dependencies 2025-07-10 21:15:50 +02:00
verilog_error.h read_verilog, ast: use unified locations in errors and simplify dependencies 2025-07-10 21:15:50 +02:00
verilog_frontend.cc read_verilog, ast: use unified locations in errors and simplify dependencies 2025-07-10 21:15:50 +02:00
verilog_frontend.h fixup! fixup! ast, read_verilog: unify location types, reduce filename copying 2025-07-10 21:15:50 +02:00
verilog_lexer.h read_verilog, ast: use unified locations in errors and simplify dependencies 2025-07-10 21:15:50 +02:00
verilog_lexer.l verilog: fix string literal regular expression (#5187) 2025-07-10 23:16:50 +02:00
verilog_location.h fixup! ast, read_verilog: unify location types, reduce filename copying 2025-07-10 21:15:50 +02:00
verilog_parser.y read_verilog, ast: use unified locations in errors and simplify dependencies 2025-07-10 21:15:50 +02:00