mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-10-06 10:03:36 +02:00
Set Verilog source location for explicit blocks (begin ... end).
This commit is contained in:
@@ -2246,6 +2246,7 @@ behavioral_stmt:
|
||||
exitTypeScope();
|
||||
if ($4 != NULL && $8 != NULL && *$4 != *$8)
|
||||
frontend_verilog_yyerror("Begin label (%s) and end label (%s) don't match.", $4->c_str()+1, $8->c_str()+1);
|
||||
SET_AST_NODE_LOC(ast_stack.back(), @2, @8);
|
||||
delete $4;
|
||||
delete $8;
|
||||
ast_stack.pop_back();
|
||||
|
||||
Reference in New Issue
Block a user