From 3fef3e12bcbc5174243a9e98f5b144f51cebc0ba Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Tue, 20 Nov 2007 16:36:37 +0000 Subject: [PATCH] Fixed bug in the C scanner related to ignored backslash characters. This addresses a problem in 1.3.32 reported by Bill Spotz. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10154 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/CParse/cscanner.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/CParse/cscanner.c b/Source/CParse/cscanner.c index 9433eb9f7..2a0d341b5 100644 --- a/Source/CParse/cscanner.c +++ b/Source/CParse/cscanner.c @@ -430,6 +430,8 @@ int yylook(void) { break; case SWIG_TOKEN_ENDLINE: break; + case SWIG_TOKEN_BACKSLASH: + break; default: Swig_error(cparse_file, cparse_line, "Illegal token '%s'.\n", Scanner_text(scan)); return (ILLEGAL);