diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2020-03-14 11:18:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-14 11:18:39 +0200 |
commit | faf4ee69de8dc6245f5fcf1ca7bd28f45b827c29 (patch) | |
tree | 5f82635e23204b33bc5621cc8143cc7c61174260 /tests | |
parent | 989e37f4e6f2b46a3e846b4a95b32afdee7fc98f (diff) | |
parent | 3ada82639ffd559da8d3f89664ac279ab2280dae (diff) | |
download | yosys-faf4ee69de8dc6245f5fcf1ca7bd28f45b827c29.tar.gz yosys-faf4ee69de8dc6245f5fcf1ca7bd28f45b827c29.tar.bz2 yosys-faf4ee69de8dc6245f5fcf1ca7bd28f45b827c29.zip |
Merge pull request #1754 from boqwxp/precise_locations
Set AST node source location in more parser rules.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/various/src.ys | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/various/src.ys b/tests/various/src.ys new file mode 100644 index 000000000..89d6700ca --- /dev/null +++ b/tests/various/src.ys @@ -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 |