From 403e207feb751622a91313702a28a8ac6d0acad9 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 22 Apr 2005 23:55:57 +0000 Subject: [PATCH] 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 --- engine/qclib/qcc_pr_lex.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/qclib/qcc_pr_lex.c b/engine/qclib/qcc_pr_lex.c index 90498cf4f..c865a72f5 100644 --- a/engine/qclib/qcc_pr_lex.c +++ b/engine/qclib/qcc_pr_lex.c @@ -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);