Skip to content

Commit 85cf414

Browse files
committed
Fix the slash symbol missing error
1 parent 52b342c commit 85cf414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser-verilog/verilog_lexer.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ NAME [_a-zA-Z][$_a-zA-Z0-9]*{0,1023}
5858
Check the escape rule inside character class
5959
https://www.regular-expressions.info/charclass.html
6060
*/
61-
ESCAPED_NAME \\[\\^!"#$%&',()*+\-.a-zA-Z0-9{|}~[\]_:;<=>?@]+[\t\f ]
61+
ESCAPED_NAME \\[\\^!"#$%&',()*+\-.a-zA-Z0-9/{|}~[\]_:;<=>?@]+[\t\f ]
6262
INTEGER [1-9][0-9]*|0
6363
BINARY [+-]?[0-9]*"'"[Bb][01_xXzZ]+
6464
OCTAL [+-]?[0-9]*"'"[Oo][0-7_xXzZ]+

0 commit comments

Comments
 (0)