Fixed String_chop method.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@91 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-01-13 20:53:20 +00:00
commit 02006f2a98

View file

@ -331,7 +331,7 @@ find_args(DOH *s)
if (level > 0) { if (level > 0) {
goto unterm; goto unterm;
} }
String_chop(str); Chop(str);
if (Len(args) || Len(str)) if (Len(args) || Len(str))
Append(args,str); Append(args,str);
@ -931,7 +931,7 @@ SWIG_cpp_parse(DOH *s)
break; break;
case 50: case 50:
/* Check for various preprocessor directives */ /* Check for various preprocessor directives */
String_chop(value); Chop(value);
if (Cmp(id,"define") == 0) { if (Cmp(id,"define") == 0) {
if (allow) { if (allow) {
DOH *m, *v, *v1; DOH *m, *v, *v1;