Added ELIF

In addition, make some formatting changes, and add some extra error handling (for when ELIF, ELSE, or ENDC are encountered without a corresponding IF).
This commit is contained in:
YamaArashi
2014-08-23 02:55:52 -07:00
committed by Ben10do
parent 4be92e14e6
commit 5c7db42fc4
4 changed files with 146 additions and 115 deletions

View File

@@ -329,6 +329,7 @@ struct sLexInitString staticstrings[] = {
{"if", T_POP_IF},
{"else", T_POP_ELSE},
{"elif", T_POP_ELIF},
{"endc", T_POP_ENDC},
{"wram0", T_SECT_WRAM0},