mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
ast: use new format string helpers.
This commit is contained in:
parent
9ea241711e
commit
9f8e039a4b
4 changed files with 48 additions and 161 deletions
|
@ -386,7 +386,7 @@ and|nand|or|nor|xor|xnor|not|buf|bufif0|bufif1|notif0|notif1 {
|
|||
supply0 { return TOK_SUPPLY0; }
|
||||
supply1 { return TOK_SUPPLY1; }
|
||||
|
||||
"$"(display|write|strobe|monitor|time|stop|finish|dumpfile|dumpvars|dumpon|dumpoff|dumpall) {
|
||||
"$"(display[bho]?|write[bho]?|strobe|monitor|time|stop|finish|dumpfile|dumpvars|dumpon|dumpoff|dumpall) {
|
||||
yylval->string = new std::string(yytext);
|
||||
return TOK_ID;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue