summaryrefslogtreecommitdiffstats
path: root/src/handlebars.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlebars.l')
-rw-r--r--src/handlebars.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/handlebars.l b/src/handlebars.l
index f7df8f5..39a7884 100644
--- a/src/handlebars.l
+++ b/src/handlebars.l
@@ -80,6 +80,7 @@ ID [^\s!"#%-,\.\/;->@\[-\^`\{-~]+/{LOOKAHEAD}
return 'CLOSE_RAW_BLOCK';
}
<mu>"{{"{LEFT_STRIP}?">" return 'OPEN_PARTIAL';
+<mu>"{{"{LEFT_STRIP}?"#>" return 'OPEN_PARTIAL_BLOCK';
<mu>"{{"{LEFT_STRIP}?"#" return 'OPEN_BLOCK';
<mu>"{{"{LEFT_STRIP}?"/" return 'OPEN_ENDBLOCK';
<mu>"{{"{LEFT_STRIP}?"^"\s*{RIGHT_STRIP}?"}}" this.popState(); return 'INVERSE';