mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
remove an Exception from preprocessor
It wasn't meant to be left in there anyway.
This commit is contained in:
parent
97ef590f9e
commit
a6237d6825
@ -532,10 +532,7 @@ def macro_translator(macro, token, line):
|
|||||||
|
|
||||||
index = 0
|
index = 0
|
||||||
while index < len(params):
|
while index < len(params):
|
||||||
try:
|
|
||||||
param_type = macro.param_types[index - correction]
|
param_type = macro.param_types[index - correction]
|
||||||
except KeyError as exception:
|
|
||||||
raise Exception("line is: " + str(line) + " and macro is: " + str(macro))
|
|
||||||
description = param_type["name"]
|
description = param_type["name"]
|
||||||
param_klass = param_type["class"]
|
param_klass = param_type["class"]
|
||||||
byte_type = param_klass.byte_type # db or dw
|
byte_type = param_klass.byte_type # db or dw
|
||||||
|
Loading…
Reference in New Issue
Block a user