mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 04:43:40 +00:00
Merge pull request #1754 from boqwxp/precise_locations
Set AST node source location in more parser rules.
This commit is contained in:
commit
faf4ee69de
2 changed files with 61 additions and 2 deletions
8
tests/various/src.ys
Normal file
8
tests/various/src.ys
Normal file
|
@ -0,0 +1,8 @@
|
|||
logger -expect warning "wire '\\o' is assigned in a block at <<EOT:2.11-2.17" 1
|
||||
logger -expect warning "wire '\\p' is assigned in a block at <<EOT:3.11-3.16" 1
|
||||
read_verilog <<EOT
|
||||
module top(input i, output o, p);
|
||||
always @* o <= i;
|
||||
always @* p = i;
|
||||
endmodule
|
||||
EOT
|
Loading…
Add table
Add a link
Reference in a new issue