fix a qcc issue with [x,y,z] and temp values, also fix an issue with comments and preprocessor.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4323 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-05-03 04:10:48 +00:00
parent ed26b8d380
commit 152f3cf78a
2 changed files with 2 additions and 1 deletions

View file

@ -4824,6 +4824,7 @@ QCC_def_t *QCC_PR_ParseValue (QCC_type_t *assumeclass, pbool allowarrayassign)
QCC_FreeTemp(x);
QCC_FreeTemp(y);
QCC_FreeTemp(z);
QCC_UnFreeTemp(d);
return d;
}
name = QCC_PR_ParseName ();

View file

@ -3066,7 +3066,7 @@ pbool QCC_PR_CheckTokenComment(char *string, char **comment)
if (*pr_file_p == '\n')
{
pr_file_p++;
QCC_PR_NewLine(true);
QCC_PR_NewLine(false);
}
old = replace?NULL:*comment;