ref: 70bbb098d3b76909d27e0bff3c331f774073dfb0
parent: 192606537759c3e65866f973b56f48046f60cf6d
author: ISSOtm <[email protected]>
date: Fri Jan 22 19:05:15 EST 2021
Remove stale keywords They were removed from the grammar, but not the lexer
--- a/src/asm/lexer.c
+++ b/src/asm/lexer.c
@@ -218,8 +218,6 @@
{"PRINTV", T_POP_PRINTV},
{"PRINTF", T_POP_PRINTF},
{"EXPORT", T_POP_EXPORT},
- {"XDEF", T_POP_XDEF},
- {"GLOBAL", T_POP_GLOBAL},
{"DS", T_POP_DS},
{"DB", T_POP_DB},
{"DW", T_POP_DW},
--- a/src/asm/parser.y
+++ b/src/asm/parser.y
@@ -500,7 +500,7 @@
%token T_POP_PRINT "PRINT" T_POP_PRINTLN "PRINTLN"
%token T_POP_PRINTF "PRINTF" T_POP_PRINTT "PRINTT" T_POP_PRINTV "PRINTV" T_POP_PRINTI "PRINTI"
%token T_POP_IF "IF" T_POP_ELIF "ELIF" T_POP_ELSE "ELSE" T_POP_ENDC "ENDC"
-%token T_POP_EXPORT "EXPORT" T_POP_GLOBAL "GLOBAL" T_POP_XDEF "XDEF"
+%token T_POP_EXPORT "EXPORT"
%token T_POP_DB "DB" T_POP_DS "DS" T_POP_DW "DW" T_POP_DL "DL"
%token T_POP_SECTION "SECTION" T_POP_FRAGMENT "FRAGMENT"
%token T_POP_RB "RB" T_POP_RW "RW" // There is no T_POP_RL, only T_Z80_RL