From 754ffa9309d184c09d3fd85dfc2cec19fdbaa303 Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Mon, 18 Sep 2000 01:40:45 +0000 Subject: [PATCH] Fixed scanning problem with '%' tokens (they were mysteriously disappearing in added methods and elsewhere). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@849 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Preprocessor/cpp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/SWIG/Source/Preprocessor/cpp.c b/SWIG/Source/Preprocessor/cpp.c index 1bdb013a2..e72e6550b 100644 --- a/SWIG/Source/Preprocessor/cpp.c +++ b/SWIG/Source/Preprocessor/cpp.c @@ -1092,6 +1092,7 @@ Preprocessor_parse(DOH *s) Putc(c,decl); state = 110; } else { + Putc('%',chunk); Putc(c,chunk); state = 1; }