diff --git a/docs/CONTRIBUTORS b/docs/CONTRIBUTORS index 09c1ae87b0..80b58a622c 100644 --- a/docs/CONTRIBUTORS +++ b/docs/CONTRIBUTORS @@ -137,6 +137,7 @@ Pierre-Henri Horrein Pieter Kapsenberg Piotr Binkowski Qingyao Sun +Quentin Corradi Rafal Kapuscik Raynard Qiao Richard Myers diff --git a/src/verilog.l b/src/verilog.l index 8bb6c07bdb..7d43128b04 100644 --- a/src/verilog.l +++ b/src/verilog.l @@ -630,7 +630,7 @@ vnum {vnum1}|{vnum2}|{vnum3}|{vnum4}|{vnum5} /* Default PLI rule */ { - "$"[a-zA-Z_$][a-zA-Z0-9_$]* { const string str (yytext, yyleng); + "$"[a-zA-Z0-9_$]+ { const string str (yytext, yyleng); yylval.strp = PARSEP->newString(AstNode::encodeName(str)); FL; return yaD_PLI; }