Fixed support for $write system task
authorClifford Wolf <clifford@clifford.at>
Wed, 23 Sep 2015 05:10:56 +0000 (07:10 +0200)
committerClifford Wolf <clifford@clifford.at>
Wed, 23 Sep 2015 05:10:56 +0000 (07:10 +0200)
frontends/verilog/verilog_lexer.l

index a72593583a70073ab74cc11503187a70a79f137f..47c1a0e6363635177d43e37396fd56e20732f6da 100644 (file)
@@ -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;
 }