-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- When we find an entrypoint use `a` mode when opening the file for it, `w` mode would wipe the previously written C source code - Also added a note regarding this branch (if-else) above - Updated error message when no entry point (and not a test file) is found - Fixed `emitStaticAllocations(File modOut, Module mod)` to select the static init queue using the provided `Module` - Fixed `emitFunctionPrototypes(File modOut, Module mod)` and `emitFunctionDefinitions(File modOut, Module mod)` to use the inheritted `CodeEmitter` methods correctly by passing in a `Module`, similar changes affecting the `TypeChecker` are now conformed to in s similar manner - Fixed `emitFunctionPrototype(File modOut, Module mod, string functionName)` and `emitFunctionDefinition(File modOut, Module mod, string functionName)` to select the function definition queue of the given `functionName` by the given `Module` - Fixed `emitCodeQueue(File modOut, Module mod)` to select the globals queue by `Module` - Added some comments about future features to `emitEntrypoint(File modOut, Module mod)`
- Loading branch information
Showing
1 changed file
with
33 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters