Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamically reallocate macro expansion buffer (ticket #45)
- Eliminate the underlying limitation of macro expansion limit by growing the buffer as needed when adding characters to it. This doesn't fix the entire issue yet however: expandU() and expandMacros() are still limited to caller-specified buffer size, and output from lua-macros isn't dynamically resized. One step at a time...
- Loading branch information
Showing
1 changed file
with
15 additions
and
14 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