Update frontends/verilog/verilog_parser.y
authorEddie Hung <eddie@fpgeh.com>
Thu, 21 May 2020 16:10:56 +0000 (09:10 -0700)
committerGitHub <noreply@github.com>
Thu, 21 May 2020 16:10:56 +0000 (09:10 -0700)
Co-authored-by: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com>
frontends/verilog/verilog_parser.y

index fd4ff68a961e6ac75714a811ed479a97054cfd3f..ae7a3f4aaeeaae9e73682963eb78a3e3e50f223b 100644 (file)
@@ -2216,7 +2216,7 @@ simple_behavioral_stmt:
 behavioral_stmt:
        defattr | assert | wire_decl | param_decl | localparam_decl | typedef_decl |
        non_opt_delay behavioral_stmt |
-       simple_behavioral_stmt ';' | ';' |
+       attr simple_behavioral_stmt ';' | ';' |
        attr hierarchical_id {
                AstNode *node = new AstNode(AST_TCALL);
                node->str = *$2;