From 411d6517cb0ff3fb753ee9b3a20743ce4916e4da Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 15 May 2007 07:51:04 +0000 Subject: [PATCH] make duplicate macros behave the same as qcc in traditional mode (ie, bump the number anyway) --- tools/qfcc/source/qc-lex.l | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/qfcc/source/qc-lex.l b/tools/qfcc/source/qc-lex.l index b722ef9b7..afb3ac527 100644 --- a/tools/qfcc/source/qc-lex.l +++ b/tools/qfcc/source/qc-lex.l @@ -443,6 +443,8 @@ add_frame_macro (char *token) if (Hash_Find (frame_tab, token)) { warning (0, "duplicate frame macro `%s'", token); + if (options.traditional) + frame_number++; return; } ALLOC (1024, frame_t, frames, frame);