From af5aa38bc31ba963269d6419ec0f7549275abfd7 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Mon, 23 Nov 2009 14:26:04 -0500 Subject: [PATCH] Fix `define argument mis-replacing system task of same name, bug191. --- Changes | 2 ++ src/V3PreProc.cpp | 1 + test_regress/t/t_preproc.out | 8 +++++++- test_regress/t/t_preproc.v | 6 ++++++ 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 81a383916..120b21fc1 100644 --- a/Changes +++ b/Changes @@ -26,6 +26,8 @@ indicates the contributor was also the author of the fix; Thanks! **** Support for loop i++, ++i, i--, --i, bug175. [by Byron Bradley] +**** Fix `define argument mis-replacing system task of same name, bug191. + **** Fix Verilator core dump on wide integer divides, bug178. [Byron Bradley] * Verilator 3.720 2009/10/26 diff --git a/src/V3PreProc.cpp b/src/V3PreProc.cpp index 074efba45..357dbf36c 100644 --- a/src/V3PreProc.cpp +++ b/src/V3PreProc.cpp @@ -462,6 +462,7 @@ string V3PreProcImp::defineSubst(V3DefineRef* refp) { //cout << "CH "<<*cp<<" an "<