Skip to content

Commit

Permalink
Allow empty blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed Dec 2, 2010
1 parent 7623299 commit 87b526d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/handlebars.yy
Expand Up @@ -9,6 +9,7 @@ root
program
: statements simpleInverse statements { $$ = new yy.ProgramNode($1, $3) }
| statements { $$ = new yy.ProgramNode($1) }
| "" { $$ = new yy.ProgramNode([]) }
;

statements
Expand Down

0 comments on commit 87b526d

Please sign in to comment.