summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-16 12:42:46 -0500
committerBryan Bishop <kanzure@gmail.com>2013-09-16 12:42:46 -0500
commitfecbe4a60c25175a3fec944be9704b27e263142a (patch)
tree49a2ad67267f417e67e8f834709013c3a2a43f0a
parente47308a1f88f19dfc0ee5cb42dc643a520d9175b (diff)
bump and support latest pokemontools
m---------extras0
-rw-r--r--textpre.py7
2 files changed, 4 insertions, 3 deletions
diff --git a/extras b/extras
-Subproject 7aa016fb528bcc8dcb30c6a887957851623eccc
+Subproject 2374a9ce905ccc4c701f81904b01019641e884b
diff --git a/textpre.py b/textpre.py
index 4a5fb116..c4e65398 100644
--- a/textpre.py
+++ b/textpre.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import extras.pokemontools.preprocessor as preprocessor
+import extras.pokemontools.configuration as configuration
import sys
@@ -261,6 +262,6 @@ chars = {
preprocessor.chars = chars
-macros = []
-macro_table = preprocessor.make_macro_table(macros)
-preprocessor.preprocess(macro_table)
+config = configuration.Config()
+processor = preprocessor.Preprocessor(config, [])
+processor.preprocess()