HACK: re-instate the ItemFragment macro hack

This is to fix the preprocessor temporarily. Maybe ItemFragment can be
removed completely.
This commit is contained in:
Bryan Bishop 2013-08-30 17:23:41 -05:00
parent d2ff1d7aaa
commit 8fe7f4c3a5

View File

@ -626,7 +626,7 @@ def preprocess(macros, skippable_macros=None, lines=None):
macro_table = make_macro_table(list(set(macros + skippable_macros)))
# HACK for pokecrystal. Must be after make_macro_table call.
skippable_macros += ["TextEndingCommand"]
skippable_macros += ["TextEndingCommand", "ItemFragment"]
if not lines:
# read each line from stdin