Skip to content

Commit

Permalink
Fixed error in lexer
Browse files Browse the repository at this point in the history
  • Loading branch information
wagenet committed Feb 9, 2012
1 parent 2ea95ca commit 0b97fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlebars.l
Expand Up @@ -35,7 +35,7 @@
<mu>"false"/[}\s] { return 'BOOLEAN'; }
<mu>[0-9]+/[}\s] { return 'INTEGER'; }
<mu>[a-zA-Z0-9_$-]+/[=}\s\/.] { return 'ID'; }
<mu>\[[^\]]*\] { yytext = yytext.substr(1, yyleng-2); return 'ID'; }
<mu>'['[^\]]*']' { yytext = yytext.substr(1, yyleng-2); return 'ID'; }
<mu>. { return 'INVALID'; }
<INITIAL,mu><<EOF>> { return 'EOF'; }
Expand Down

0 comments on commit 0b97fea

Please sign in to comment.