From: Clifford Wolf Date: Wed, 23 Sep 2015 05:10:56 +0000 (+0200) Subject: Fixed support for $write system task X-Git-Tag: yosys-0.6~143 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b845b77f862b0f4881315394d6a6fe790f273ddc;p=yosys.git Fixed support for $write system task --- diff --git a/frontends/verilog/verilog_lexer.l b/frontends/verilog/verilog_lexer.l index a72593583..47c1a0e63 100644 --- a/frontends/verilog/verilog_lexer.l +++ b/frontends/verilog/verilog_lexer.l @@ -248,7 +248,7 @@ and|nand|or|nor|xor|xnor|not|buf|bufif0|bufif1|notif0|notif1 { supply0 { return TOK_SUPPLY0; } supply1 { return TOK_SUPPLY1; } -"$"(display|strobe|monitor|time|stop|finish|dumpfile|dumpvars|dumpon|dumpoff|dumpall) { +"$"(display|write|strobe|monitor|time|stop|finish|dumpfile|dumpvars|dumpon|dumpoff|dumpall) { frontend_verilog_yylval.string = new std::string(yytext); return TOK_ID; }