make duplicate macros behave the same as qcc in traditional mode (ie, bump the number anyway)

This commit is contained in:
Bill Currie 2007-05-15 07:51:04 +00:00 committed by Jeff Teunissen
parent fee656eb68
commit 411d6517cb
1 changed files with 2 additions and 0 deletions

View File

@ -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);