Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate format string processor from mapping data
Strip out the format string mapping data from the format string translator function, so we can re-use this worker function with other format string mapping rules. Note `eval` is used in substitute_format_strings() to evaluate variables at runtime. Keep this in mind when writing format string mapping rules.
- Loading branch information
Showing
2 changed files
with
42 additions
and
37 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