From e63b205fd2fb4535be5beb7d58ade2f3f1aa1595 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 21 Jan 2004 21:43:31 +0000 Subject: [PATCH] don't seg when in traditional mode and @ is seen --- tools/qfcc/source/qc-lex.l | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/qfcc/source/qc-lex.l b/tools/qfcc/source/qc-lex.l index 579f0bbe7..a601e80b0 100644 --- a/tools/qfcc/source/qc-lex.l +++ b/tools/qfcc/source/qc-lex.l @@ -370,7 +370,8 @@ type_or_name (char *token) } keyword = Hash_Find (keyword_tab, token); if (keyword) { - if (token[0] == '@' && !class_Class.super_class) + if (!options.traditional && token[0] == '@' + && !class_Class.super_class) class_init (); yylval.type = keyword->type; return keyword->value;