Permalink
Please sign in to comment.
Browse files
Compiler Cleanup: Remove more global state, fix alarms
- Removes some global state plaguing the compiler. - Moves usage of JDI internals to "one place" (`language_adapter`, and immediate call sites). - Fixes an old bug where we test on the first item of an empty `ref_stack`.
- Loading branch information...
Showing
with
160 additions
and 213 deletions.
- +6 −4 CompilerSource/backend/GameData.cpp
- +8 −2 CompilerSource/backend/GameData.h
- +30 −35 CompilerSource/compiler/compile.cpp
- +0 −4 CompilerSource/compiler/compile_includes.h
- +0 −1 CompilerSource/compiler/components/module_write_backgrounds.cpp
- +1 −1 CompilerSource/compiler/components/module_write_fonts.cpp
- +1 −1 CompilerSource/compiler/components/module_write_paths.cpp
- +1 −1 CompilerSource/compiler/components/module_write_sounds.cpp
- +1 −1 CompilerSource/compiler/components/write_defragged_events.cpp
- +0 −1 CompilerSource/compiler/components/write_font_info.cpp
- +26 −27 CompilerSource/compiler/jdi_utility.cpp
- +0 −43 CompilerSource/compiler/jdi_utility.h
- +0 −36 CompilerSource/compiler/reshandlers/refont.cpp
- +0 −36 CompilerSource/compiler/reshandlers/refont.h
- +4 −5 CompilerSource/frontend.cpp
- +2 −5 CompilerSource/languages/lang_CPP.cpp
- +32 −0 CompilerSource/languages/lang_CPP.h
- +33 −0 CompilerSource/languages/language_adapter.h
- +1 −2 CompilerSource/main.cpp
- +2 −4 CompilerSource/parser/parser_components.cpp
- +9 −0 CompilerSource/settings-parse/parse_ide_settings.cpp
- +1 −1 CompilerSource/standalone_main.cpp
- +2 −3 CompilerSource/syntax/syntax.cpp

Oops, something went wrong.
0 comments on commit
36de74c