parsing fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1535 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -249,7 +249,7 @@ char *executeret(const char *p) // all evaluation hap
|
||||
ident *id = idents->access(c);
|
||||
if(!id)
|
||||
{
|
||||
if(!isdigit(*c) && ((*c!='+' && *c!='-') || !isdigit(c[1]))) conoutf("unknown command: %s", c);
|
||||
if(!isdigit(*c) && ((*c!='+' && *c!='-') || (*c && !isdigit(c[1])))) conoutf("unknown command: %s", c);
|
||||
setretval(newstring(c));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user