*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1539 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -155,8 +155,9 @@ char *parseexp(const char *&p, int right) // parse any nested set of
|
||||
char *s = newstring(word, p-word-1);
|
||||
if(left=='(')
|
||||
{
|
||||
char *ret = executeret(s);
|
||||
s = exchangestr(s, ret ? ret : newstring("")); // evaluate () exps directly, and substitute result
|
||||
char *ret = executeret(s); // evaluate () exps directly, and substitute result
|
||||
delete[] s;
|
||||
s = ret ? ret : newstring("");
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user