Don't apply \s specials if it's a special char that we're parsing.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@976 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-04-22 23:55:57 +00:00
parent 608675c050
commit 403e207feb

View file

@ -1093,8 +1093,10 @@ void QCC_PR_LexString (void)
}
else if (c == 0x7C && flag_acc) //reacc support... reacc is strange.
c = '\n';
else
c |= texttype;
pr_token[len] = c|texttype;
pr_token[len] = c;
len++;
if (len >= sizeof(pr_token)-1)
QCC_Error(ERR_INVALIDSTRINGIMMEDIATE, "String length exceeds %i", sizeof(pr_token)-1);