From 5308c1e02a4867b184efd8cbb419c058032d06b4 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 15 Oct 2015 15:19:23 +0200 Subject: [PATCH] Fixed bug in verilog parser --- frontends/verilog/verilog_parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/verilog/verilog_parser.y b/frontends/verilog/verilog_parser.y index e0446e082..09748eba4 100644 --- a/frontends/verilog/verilog_parser.y +++ b/frontends/verilog/verilog_parser.y @@ -759,7 +759,7 @@ assign_expr_list: assign_expr | assign_expr_list ',' assign_expr; assign_expr: - expr '=' expr { + lvalue '=' expr { ast_stack.back()->children.push_back(new AstNode(AST_ASSIGN, $1, $3)); }; -- 2.30.2