Merge pull request #180 from yenatch/master

label renaming
remove an Exception from preprocessor

It wasn't meant to be left in there anyway.
remove the show_original_lines global
remove the do_macro_sanity_check global
generic preprocessor-specific exception classes

These are basic python Exception subclasses that can be used to throw
more specific errors and exceptions from within the preprocessor.

AssertionError is not a good idea.
replace an assert in macro_translator

Use a MacroException instead of an AssertionError.
fix "raise Exception" formatting in preprocessor
raise MacroException instead of Exception

A more specific exception means that error handling can actually work in
the future.
convert a macro_translator assert in preprocessor

AssertionError -> PreprocessorException
make a MacroException more verbose in preprocessor
docstring for prequeue.py
Merge pull request #181 from kanzure/remove-globals-from-preprocessor

Remove globals from preprocessor.
refactor preprocessor macros into a function

Remove the "macros" global and instead use a function to construct a
list of macros.
Merge branch 'master' into preprocessor-asserts
Merge pull request #182 from kanzure/preprocessor-asserts

Use PreprocessorException instead of AssertionError in preprocessor
Merge branch 'master' into preprocessor-macro-function
Merge pull request #183 from kanzure/preprocessor-macro-function

Function to make the preprocessor "macros" list.
move macro sanity check into separate function

This moves out from macro_translator the macro/param length sanity check
into a function called check_macro_sanity.
don't call load_pokecrystal_macros 2000 times

Also, don't call make_macro_table 2000 times by only calling it once and
passing the result.
reset stdout in prequeue.py near end

Other output shouldn't be dumped into items/item_attributes.tx by
default.