const cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2976 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -297,7 +297,7 @@ char *executeret(const char *p) // all evaluation hap
|
||||
|
||||
p += strcspn(p, ";\n\0");
|
||||
cont = *p++!=0; // more statements if this isn't the end of the string
|
||||
char *c = w[0];
|
||||
const char *c = w[0];
|
||||
if(!*c) continue; // empty statement
|
||||
|
||||
DELETEA(retval);
|
||||
@@ -309,7 +309,7 @@ char *executeret(const char *p) // all evaluation hap
|
||||
case '=':
|
||||
DELETEA(w[1]);
|
||||
swap(w[0], w[1]);
|
||||
c = (char *)"alias";
|
||||
c = "alias";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user