mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 11:32:07 +00:00
Output warning with deprecated section types
Code that uses keywords HOME, DATA, CODE or BSS generates warnings. Signed-off-by: AntonioND <antonio_nd@outlook.com>
This commit is contained in:
committed by
Antonio Niño Díaz
parent
24439003f3
commit
07861b3b4a
@@ -329,18 +329,20 @@ struct sLexInitString staticstrings[] = {
|
||||
{"endc", T_POP_ENDC},
|
||||
|
||||
{"wram0", T_SECT_WRAM0},
|
||||
{"bss", T_SECT_WRAM0}, /* deprecated */
|
||||
{"vram", T_SECT_VRAM},
|
||||
{"code", T_SECT_ROMX}, /* deprecated */
|
||||
{"data", T_SECT_ROMX}, /* deprecated */
|
||||
{"romx", T_SECT_ROMX},
|
||||
{"home", T_SECT_ROM0}, /* deprecated */
|
||||
{"rom0", T_SECT_ROM0},
|
||||
{"hram", T_SECT_HRAM},
|
||||
{"wramx", T_SECT_WRAMX},
|
||||
{"sram", T_SECT_SRAM},
|
||||
{"oam", T_SECT_OAM},
|
||||
|
||||
/* Deprecated section type names */
|
||||
{"home", T_SECT_HOME},
|
||||
{"code", T_SECT_CODE},
|
||||
{"data", T_SECT_DATA},
|
||||
{"bss", T_SECT_BSS},
|
||||
|
||||
{NAME_RB, T_POP_RB},
|
||||
{NAME_RW, T_POP_RW},
|
||||
{"equ", T_POP_EQU},
|
||||
|
||||
Reference in New Issue
Block a user