summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/handlebars.yy3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/handlebars.yy b/src/handlebars.yy
index dc79156..bad05f4 100644
--- a/src/handlebars.yy
+++ b/src/handlebars.yy
@@ -53,8 +53,7 @@ mustache
partial
- : OPEN_PARTIAL partialName CLOSE -> new yy.PartialNode($2)
- | OPEN_PARTIAL partialName path CLOSE -> new yy.PartialNode($2, $3)
+ : OPEN_PARTIAL partialName path? CLOSE -> new yy.PartialNode($2, $3)
;
simpleInverse