shithub: pokecrystal

Download patch

ref: e14ee0838d958dcd3a19f4f097a47d0f967ad1f0
parent: 5bc8b861f6f9260606934a22ab05d706963e042d
author: Bryan Bishop <[email protected]>
date: Thu Apr 26 10:41:28 EDT 2012

clean up an error message in preprocessor

--- a/textpre.py
+++ b/textpre.py
@@ -414,7 +414,7 @@
 
         # check if there are no params (redundant)
         if len(params) == 1 and params[0] == "":
-            raise Exception, "ERROR: macro has no params?"
+            raise Exception, "macro has no params?"
 
     # write out a comment showing the original line
     sys.stdout.write("; original_line: " + original_line)