diff options
author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2013-09-16 15:50:02 -0400 |
---|---|---|
committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2013-09-16 15:50:02 -0400 |
commit | d7aa1d61cdcdb623651f2490d210548e940c1b7d (patch) | |
tree | 276f05f46f1e2adf1f1740db69ec5ddf8bb54a1b /textpre.py | |
parent | cd433d32ee269ec9cb4506e9739b1f30382d9916 (diff) | |
parent | fecbe4a60c25175a3fec944be9704b27e263142a (diff) |
Merge remote-tracking branch 'kanzure/use-new-preprocessor'
Diffstat (limited to 'textpre.py')
-rw-r--r-- | textpre.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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() |