mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-08 04:20:49 +02:00
macro_start_args() inserts a null string for arg 0 at the start of def_buf. This allows macro_finish_arg() to calculate the length of the first actual argument (arg 1). But macro_start_args() relied on def_buf having already been allocated, which isn't the case when all the macros are pre-defined. This fixes issue #1323.