mirror of
https://github.com/verilator/verilator.git
synced 2025-01-19 12:54:02 +00:00
According to 1800-2017 36.3, 1800-2017 A.9.3, 1364-2005 20.2 and 1364-2005 A.9.3, user defined system task and function identifiers can use the same character set for the second character as all the following characters.
This commit is contained in:
parent
f8b7fb72b8
commit
26e3785963
@ -137,6 +137,7 @@ Pierre-Henri Horrein
|
|||||||
Pieter Kapsenberg
|
Pieter Kapsenberg
|
||||||
Piotr Binkowski
|
Piotr Binkowski
|
||||||
Qingyao Sun
|
Qingyao Sun
|
||||||
|
Quentin Corradi
|
||||||
Rafal Kapuscik
|
Rafal Kapuscik
|
||||||
Raynard Qiao
|
Raynard Qiao
|
||||||
Richard Myers
|
Richard Myers
|
||||||
|
@ -630,7 +630,7 @@ vnum {vnum1}|{vnum2}|{vnum3}|{vnum4}|{vnum5}
|
|||||||
|
|
||||||
/* Default PLI rule */
|
/* Default PLI rule */
|
||||||
<V95,V01NC,V01C,V05,VA5,S05,S09,S12,S17,SAX>{
|
<V95,V01NC,V01C,V05,VA5,S05,S09,S12,S17,SAX>{
|
||||||
"$"[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));
|
yylval.strp = PARSEP->newString(AstNode::encodeName(str));
|
||||||
FL; return yaD_PLI;
|
FL; return yaD_PLI;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user