Fixed expressions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@66 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0a2dc820cf
commit
63b0bee56a
1 changed files with 1 additions and 2 deletions
|
|
@ -996,12 +996,11 @@ SWIG_cpp_parse(DOH *s)
|
||||||
if (allow) {
|
if (allow) {
|
||||||
start_level = level;
|
start_level = level;
|
||||||
sval = swig_cpp_replace(value);
|
sval = swig_cpp_replace(value);
|
||||||
sval = Copy(value);
|
|
||||||
Seek(sval,0,SEEK_SET);
|
Seek(sval,0,SEEK_SET);
|
||||||
val = SWIG_expr(sval,&e);
|
val = SWIG_expr(sval,&e);
|
||||||
if (e) {
|
if (e) {
|
||||||
Seek(value,0,SEEK_SET);
|
Seek(value,0,SEEK_SET);
|
||||||
/* cpp_error(Getfile(value),Getline(value),"Could not evaluate '%s'\n", value); */
|
cpp_error(Getfile(value),Getline(value),"Could not evaluate '%s'\n", value);
|
||||||
allow = 0;
|
allow = 0;
|
||||||
} else {
|
} else {
|
||||||
if (val == 0)
|
if (val == 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue