shithub: pokecrystal

Download patch

ref: 8fe7f4c3a567edbbdc1579dee8f5ffb6afb7df1c
parent: d2ff1d7aaa268496009796ffa4bdfabc93b2dea4
author: Bryan Bishop <[email protected]>
date: Fri Aug 30 13:23:41 EDT 2013

HACK: re-instate the ItemFragment macro hack

This is to fix the preprocessor temporarily. Maybe ItemFragment can be
removed completely.

--- a/preprocessor.py
+++ b/preprocessor.py
@@ -626,7 +626,7 @@
     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