-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compiler failing with nested
with
expression
`with` expression parser now relies on regex. However, regex do not support properly parsing nested structures. This commit re-implements `WithParser` to be able to track of the nesting level and correctly parsing all `with` expressions. Other improvements: - Throw meaningful errors when syntax is wrong instead of ignoring. - Add more unit tests for `with` expression. - Improve documentation for templating.
- Loading branch information
1 parent
8570b02
commit de137b3
Showing
5 changed files
with
571 additions
and
226 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
Oops, something went wrong.