From 45d6a88841f0db650d615522b1f6594ea72ceb7e Mon Sep 17 00:00:00 2001 From: tma Date: Tue, 4 Oct 2005 01:21:34 +0000 Subject: * Dewarninged the lcc and q3asm source * Removed traditional target platforms from the lcc build. This might break building lcc on Windows using nmake. Submit patches or be quiet :p * Default target for lcc is now bytecode, so -Wf-target=bytecode is no longer needed on the lcc command line git-svn-id: svn://svn.icculus.org/quake3/trunk@132 edf5b092-35ff-0310-97b2-ce42778d08ea --- lcc/src/lex.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lcc/src/lex.c') diff --git a/lcc/src/lex.c b/lcc/src/lex.c index 6643172..ec2f1ec 100644 --- a/lcc/src/lex.c +++ b/lcc/src/lex.c @@ -685,17 +685,18 @@ int gettok(void) { } goto id; default: - if ((map[cp[-1]]&BLANK) == 0) + if ((map[cp[-1]]&BLANK) == 0) { if (cp[-1] < ' ' || cp[-1] >= 0177) error("illegal character `\\0%o'\n", cp[-1]); else error("illegal character `%c'\n", cp[-1]); + } } } } static Symbol icon(unsigned long n, int overflow, int base) { - if ((*cp=='u'||*cp=='U') && (cp[1]=='l'||cp[1]=='L') - || (*cp=='l'||*cp=='L') && (cp[1]=='u'||cp[1]=='U')) { + if (((*cp=='u'||*cp=='U') && (cp[1]=='l'||cp[1]=='L')) + || ((*cp=='l'||*cp=='L') && (cp[1]=='u'||cp[1]=='U'))) { tval.type = unsignedlong; cp += 2; } else if (*cp == 'u' || *cp == 'U') { -- cgit v1.2.3