From d95eb0f8714d26bd6416d93f4fd26887b31c6012 Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Sat, 28 Nov 2020 20:08:40 +0100 Subject: [PATCH] fix repeated character in RE, fix changed syntax in verilog example --- src/parselabel.l | 2 +- xschem_library/examples/greycnt.sch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parselabel.l b/src/parselabel.l index ecc8858a..37e65421 100644 --- a/src/parselabel.l +++ b/src/parselabel.l @@ -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]*) diff --git a/xschem_library/examples/greycnt.sch b/xschem_library/examples/greycnt.sch index eae6e79c..8d2e7863 100644 --- a/xschem_library/examples/greycnt.sch +++ b/xschem_library/examples/greycnt.sch @@ -12,7 +12,7 @@ end process;} K {} V {initial begin $dumpfile("dumpfile.vcd"); - $dumpvars; + $dumpvars(0, greycnt); A=0; end