From ae68a80e98f535218423fda7265c069452a0275e Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Mon, 10 Oct 2011 18:13:17 -0400 Subject: [PATCH] Fix fflush --- src/verilog.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/verilog.y b/src/verilog.y index f314b811e..44159daad 100644 --- a/src/verilog.y +++ b/src/verilog.y @@ -2118,7 +2118,7 @@ system_t_call: // IEEE: system_tf_call (as task) | yD_C '(' cStrList ')' { $$ = (v3Global.opt.ignc() ? NULL : new AstUCStmt($1,$3)); } | yD_FCLOSE '(' idClassSel ')' { $$ = new AstFClose($1, $3); } | yD_FFLUSH parenE { $1->v3error("Unsupported: $fflush of all handles does not map to C++."); } - | yD_FFLUSH '(' idClassSel ')' { $$ = new AstFClose($1, $3); } + | yD_FFLUSH '(' idClassSel ')' { $$ = new AstFFlush($1, $3); } | yD_FINISH parenE { $$ = new AstFinish($1); } | yD_FINISH '(' expr ')' { $$ = new AstFinish($1); } | yD_STOP parenE { $$ = new AstStop($1); }