Fixed minor preprocessor bug introduced by last revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1cd500b011
commit
4970a67b06
1 changed files with 4 additions and 1 deletions
|
|
@ -705,7 +705,10 @@ check_id(DOH *s)
|
||||||
switch(state) {
|
switch(state) {
|
||||||
|
|
||||||
case 0:
|
case 0:
|
||||||
if (isdigit(c)) state = 1;
|
if (isdigit(c)) {
|
||||||
|
hasvalue =1;
|
||||||
|
state = 1;
|
||||||
|
}
|
||||||
else if (isidentifier(c)) return 1;
|
else if (isidentifier(c)) return 1;
|
||||||
else if (c == '\"') {
|
else if (c == '\"') {
|
||||||
skip_tochar(s,'\"',0);
|
skip_tochar(s,'\"',0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue