From af22860c642fdd68a8db2f77347e6a79cfd5528d Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Tue, 15 Feb 2000 19:34:09 +0000 Subject: [PATCH] Bug fix git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@240 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Preprocessor/cpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Source/Preprocessor/cpp.c b/SWIG/Source/Preprocessor/cpp.c index fca51f3e3..2511ea153 100644 --- a/SWIG/Source/Preprocessor/cpp.c +++ b/SWIG/Source/Preprocessor/cpp.c @@ -840,7 +840,7 @@ Preprocessor_parse(DOH *s) break; case 41: /* Build up the name of the preprocessor directive */ - if (isspace(c)) { + if ((isspace(c) || (!isalpha(c)))) { Clear(value); Clear(comment); if (c == '\n') {