iverilog/ivlpp
Martin Whitaker eed88fc61f ivlpp: Ensure def_buf is allocated when calling macro_start_args()
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.
2026-04-15 16:24:32 +01:00
..
Makefile.in A bunch more cppcheck cleanup 2026-01-13 01:25:01 -08:00
cppcheck.sup A bunch more cppcheck cleanup 2026-01-13 01:25:01 -08:00
globals.h Add option to only warn about macro redefinitions that change the text. 2017-11-08 19:50:42 +00:00
lexor.lex ivlpp: Ensure def_buf is allocated when calling macro_start_args() 2026-04-15 16:24:32 +01:00
main.c A bunch more cppcheck cleanup 2026-01-13 01:25:01 -08:00