fix repeated character in RE, fix changed syntax in verilog example

This commit is contained in:
Stefan Frederik 2020-11-28 20:08:40 +01:00
parent 9a03923b4e
commit d95eb0f871
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ const char *expandlabel(const char *s, int *m)
%x rest
ID [-#+_\\/=a-zA-Z0-9]*[-#@+/_\\/=a-zA-Z]+[-#@+_\\/=a-zA-Z0-9]*
ID [-#+_\\/=a-zA-Z0-9]*[-#@+_\\/=a-zA-Z]+[-#@+_\\/=a-zA-Z0-9]*
ID_NUM [-#+_\\/=a-zA-Z0-9]+
ID_EXT ([-~#+/=_a-zA-Z][-~#@\\/:.=_+a-zA-Z0-9]*)|([-~#+/.=_a-zA-Z][-~#@\\/:=_+a-zA-Z0-9]*)

View File

@ -12,7 +12,7 @@ end process;}
K {}
V {initial begin
$dumpfile("dumpfile.vcd");
$dumpvars;
$dumpvars(0, greycnt);
A=0;
end