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:
Lee Salzman
2008-10-12 07:39:10 +00:00
parent 6a0932f38e
commit 078a323e9d
+2 -2
View File
@@ -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;
}
}