From 88151b16e83095b4364c55e5a0213d5acd6ca04d Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 26 Oct 2004 14:41:05 +0000 Subject: [PATCH] precompiler changes. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@365 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/qclib/qcc_pr_lex.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/qclib/qcc_pr_lex.c b/engine/qclib/qcc_pr_lex.c index 052249d0e..c3744fe45 100644 --- a/engine/qclib/qcc_pr_lex.c +++ b/engine/qclib/qcc_pr_lex.c @@ -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;