diff options
author | Udi Finkelstein <github@udifink.com> | 2018-10-25 02:37:56 +0300 |
---|---|---|
committer | Udi Finkelstein <github@udifink.com> | 2018-10-25 02:37:56 +0300 |
commit | 536ae16c3abcf3fef1dd14df8733bf51fa1bce1a (patch) | |
tree | 00838e80593c2d0a8d46c1b448a44ddd62a4c796 /tests/errors/syntax_err03.v | |
parent | 11c8a9eb960fdb0a412fabcfbe787cbf5cc3a67d (diff) | |
download | yosys-536ae16c3abcf3fef1dd14df8733bf51fa1bce1a.tar.gz yosys-536ae16c3abcf3fef1dd14df8733bf51fa1bce1a.tar.bz2 yosys-536ae16c3abcf3fef1dd14df8733bf51fa1bce1a.zip |
Rename the generic "Syntax error" message from the Verilog/SystemVerilog parser into unique,
meaningful info on the error.
Also add 13 compilation examples that triggers each of these messages.
Diffstat (limited to 'tests/errors/syntax_err03.v')
-rw-r--r-- | tests/errors/syntax_err03.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/errors/syntax_err03.v b/tests/errors/syntax_err03.v new file mode 100644 index 000000000..6eec44ade --- /dev/null +++ b/tests/errors/syntax_err03.v @@ -0,0 +1,7 @@ +module a; +task to ( + input [3]x +); +endtask +endmodule + |