mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 20:38:44 +00:00
read_verilog: set location of AST_TCALL.
Useful for error reporting of $display() arguments, etc.
This commit is contained in:
parent
389b8d0f94
commit
f8e2c955fc
|
@ -2721,6 +2721,7 @@ behavioral_stmt:
|
|||
ast_stack.push_back(node);
|
||||
append_attr(node, $1);
|
||||
} opt_arg_list ';'{
|
||||
SET_AST_NODE_LOC(ast_stack.back(), @2, @5);
|
||||
ast_stack.pop_back();
|
||||
} |
|
||||
attr TOK_MSG_TASKS {
|
||||
|
@ -2731,6 +2732,7 @@ behavioral_stmt:
|
|||
ast_stack.push_back(node);
|
||||
append_attr(node, $1);
|
||||
} opt_arg_list ';'{
|
||||
SET_AST_NODE_LOC(ast_stack.back(), @2, @5);
|
||||
ast_stack.pop_back();
|
||||
} |
|
||||
attr TOK_BEGIN {
|
||||
|
|
Loading…
Reference in a new issue