Bug fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e916a70543
commit
3880d130bc
1 changed files with 1 additions and 1 deletions
|
|
@ -840,7 +840,7 @@ Preprocessor_parse(DOH *s)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 41: /* Build up the name of the preprocessor directive */
|
case 41: /* Build up the name of the preprocessor directive */
|
||||||
if (isspace(c)) {
|
if ((isspace(c) || (!isalpha(c)))) {
|
||||||
Clear(value);
|
Clear(value);
|
||||||
Clear(comment);
|
Clear(comment);
|
||||||
if (c == '\n') {
|
if (c == '\n') {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue