precompiler changes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@365 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-10-26 14:41:05 +00:00
parent 5981194db4
commit 88151b16e8

View file

@ -1644,7 +1644,7 @@ void QCC_PR_ConditionCompilation(void)
if (s[-1] == '\\')
{
}
else if (s[-2] == '\\' && s[-1] == '\r' && s[-1] == '\n')
else if (s[-2] == '\\' && s[-1] == '\r' && s[0] == '\n')
{
}
else
@ -1787,7 +1787,7 @@ int QCC_PR_CheakCompConst(void)
{
if (!*pr_file_p)
break;
buffer[p] = *pr_file_p++;
buffer[p++] = *pr_file_p++;
}
buffer[p] = 0;
@ -2245,8 +2245,8 @@ int typecmp(QCC_type_t *a, QCC_type_t *b)
if (a->size != b->size)
return 1;
if (STRCMP(a->name, b->name))
return 1;
// if (STRCMP(a->name, b->name)) //This isn't 100% clean.
// return 1;
if (typecmp(a->aux_type, b->aux_type))
return 1;