From b004c42a3128f9b1c12341fb3737d393d251d5ab Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Tue, 11 Feb 2003 21:30:40 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4297 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/CHANGES.current | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/SWIG/CHANGES.current b/SWIG/CHANGES.current index 5dcb79097..5fa6429df 100644 --- a/SWIG/CHANGES.current +++ b/SWIG/CHANGES.current @@ -1,5 +1,19 @@ Version 1.3.18 (In progress) ============================ +02/11/2003: beazley + Fixed more very subtle preprocessor corner cases related to recursive + macro expansion. For example: + + #define cat(x,y) x ## y + + cat(cat(1,2),3) // Produces: cat(1,2)3 + + #define xcat(x,y) cat(x,y) + + xcat(xcat(1,2),3) // Produces 123 + + See K&R, 2nd Ed. p. 231. + 02/10/2003: beazley Fixed subtle preprocessor argument expansion bug. Reported by Marcelo Matus.