Fixed bug in verilog parser

This commit is contained in:
Clifford Wolf 2015-10-15 15:19:23 +02:00
parent 302166dd59
commit 5308c1e02a
1 changed files with 1 additions and 1 deletions

View File

@ -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));
};