forked from gideros/gideros
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lua and luac macro fixes and new "include" directive
Each lua file has it's own `MACRO` table which is cleared at the beginning of parsing. To support import of macros from other files "include" directive can be used as `include "filename"` to load content of the file at the compilation step, for example: `include "macro_functions"` will try to open the file "macro_functions", load it's content and paste it at the place of `include` directive. Of course, any content of any file can be included this way, just like in C preprocessor.
- Loading branch information
Showing
4 changed files
with
329 additions
and
29 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
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
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
Oops, something went wrong.