mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue