Bug fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
01ab2bc6ec
commit
af22860c64
1 changed files with 1 additions and 1 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue