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:
parent
ebba088d98
commit
02006f2a98
1 changed files with 2 additions and 2 deletions
|
|
@ -331,7 +331,7 @@ find_args(DOH *s)
|
|||
if (level > 0) {
|
||||
goto unterm;
|
||||
}
|
||||
String_chop(str);
|
||||
Chop(str);
|
||||
if (Len(args) || Len(str))
|
||||
Append(args,str);
|
||||
|
||||
|
|
@ -931,7 +931,7 @@ SWIG_cpp_parse(DOH *s)
|
|||
break;
|
||||
case 50:
|
||||
/* Check for various preprocessor directives */
|
||||
String_chop(value);
|
||||
Chop(value);
|
||||
if (Cmp(id,"define") == 0) {
|
||||
if (allow) {
|
||||
DOH *m, *v, *v1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue