1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00

Use .REFERTO instead of .REF as the command.

This commit is contained in:
Evgeny Vrublevsky 2021-04-24 20:51:11 +03:00 committed by greg-king5
parent e9a72b2462
commit 83e7c37277
3 changed files with 5 additions and 2 deletions

View File

@ -1730,7 +1730,7 @@ static void DoPushSeg (void)
static void DoReferenced (void) static void DoReferTo (void)
/* Mark given symbol as referenced */ /* Mark given symbol as referenced */
{ {
SymEntry* Sym = ParseAnySymName (SYM_ALLOC_NEW); SymEntry* Sym = ParseAnySymName (SYM_ALLOC_NEW);
@ -2165,7 +2165,8 @@ static CtrlDesc CtrlCmdTab [] = {
{ ccNone, DoPushCharmap }, { ccNone, DoPushCharmap },
{ ccNone, DoPushCPU }, { ccNone, DoPushCPU },
{ ccNone, DoPushSeg }, { ccNone, DoPushSeg },
{ ccNone, DoReferenced }, /* .REFERENCED */ { ccNone, DoUnexpected }, /* .REFERENCED */
{ ccNone, DoReferTo }, /* .REFERTO */
{ ccNone, DoReloc }, { ccNone, DoReloc },
{ ccNone, DoRepeat }, { ccNone, DoRepeat },
{ ccNone, DoRes }, { ccNone, DoRes },

View File

@ -271,6 +271,7 @@ struct DotKeyword {
{ ".PUSHSEG", TOK_PUSHSEG }, { ".PUSHSEG", TOK_PUSHSEG },
{ ".REF", TOK_REFERENCED }, { ".REF", TOK_REFERENCED },
{ ".REFERENCED", TOK_REFERENCED }, { ".REFERENCED", TOK_REFERENCED },
{ ".REFERTO", TOK_REFERTO },
{ ".RELOC", TOK_RELOC }, { ".RELOC", TOK_RELOC },
{ ".REPEAT", TOK_REPEAT }, { ".REPEAT", TOK_REPEAT },
{ ".RES", TOK_RES }, { ".RES", TOK_RES },

View File

@ -241,6 +241,7 @@ typedef enum token_t {
TOK_PUSHCPU, TOK_PUSHCPU,
TOK_PUSHSEG, TOK_PUSHSEG,
TOK_REFERENCED, TOK_REFERENCED,
TOK_REFERTO,
TOK_RELOC, TOK_RELOC,
TOK_REPEAT, TOK_REPEAT,
TOK_RES, TOK_RES,