From fecbe4a60c25175a3fec944be9704b27e263142a Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Mon, 16 Sep 2013 12:42:46 -0500 Subject: bump and support latest pokemontools --- textpre.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'textpre.py') 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() -- cgit v1.3.1-sl0p