mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +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)) {
|
if (Hash_Find (frame_tab, token)) {
|
||||||
warning (0, "duplicate frame macro `%s'", token);
|
warning (0, "duplicate frame macro `%s'", token);
|
||||||
|
if (options.traditional)
|
||||||
|
frame_number++;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ALLOC (1024, frame_t, frames, frame);
|
ALLOC (1024, frame_t, frames, frame);
|
||||||
|
|
Loading…
Reference in a new issue