From 220cb1f7bbf6405117b953526c50a21a5ef5788f Mon Sep 17 00:00:00 2001 From: Zachary Snow Date: Thu, 18 Feb 2021 12:04:02 -0500 Subject: verilog: error on macro invocations with missing argument lists This would previously complain about an undefined internal macro if the unapplied macro had not already been used. If it had, it would incorrectly use the arguments from the previous invocation. --- tests/verilog/macro_unapplied.ys | 17 +++++++++++++++++ tests/verilog/macro_unapplied_newline.ys | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 tests/verilog/macro_unapplied.ys create mode 100644 tests/verilog/macro_unapplied_newline.ys (limited to 'tests') diff --git a/tests/verilog/macro_unapplied.ys b/tests/verilog/macro_unapplied.ys new file mode 100644 index 000000000..81eb10b8b --- /dev/null +++ b/tests/verilog/macro_unapplied.ys @@ -0,0 +1,17 @@ +logger -expect-no-warnings +read_verilog -sv <