*** 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:
Lee Salzman
2007-12-30 14:17:25 +00:00
parent 3f32ce711f
commit d7db918fc2
+3 -2
View File
@@ -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;
}