make duplicate macros behave the same as qcc in traditional mode (ie, bump the number anyway)
This commit is contained in:
parent
fee656eb68
commit
411d6517cb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue