forked from kof/jqtpl
-
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.
Prep for reporting location of template compilation errors.
Step 3: unroll main substitution into an explicit loop in which we can track where each subst. occurs. With this and the line-break index we build up front, we'll be able to determine the source line and start/end line inded for each replaced tag, and can then report that information when a compilation failure (i.e. bad template syntax) is detected.
- Loading branch information
Showing
1 changed file
with
25 additions
and
6 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