-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved parsing of flavor-specific tag 'include_relative'
* In Jekyll style, 'include_relative' was represented as token SimpleTag, instead of IncludeRelative, as expected since PR #288. * As a consequence, filename components were parsed as separate parameters instead of token file_name_or_output. This behaviour got unnoticed only because all parameters were incorrectly concatenated into one string (to be fixed outside of this commit) * In Liquid style, tag 'include_relative' is not defined (token InvalidTagId), but can be defined as a custom block (token SimpleBlock) or a tag (SimpleTag). * To facilitate flavor-specific lexical analysis, flag isLiquidStyleInclude was was added to LiquidLexer; same code as in the LiquidParser since #196
- Loading branch information
Showing
4 changed files
with
46 additions
and
33 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
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