diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/handlebars.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlebars.l b/src/handlebars.l index e24e871..cb0d88b 100644 --- a/src/handlebars.l +++ b/src/handlebars.l @@ -24,7 +24,7 @@ <mu>"}}}" { this.begin("INITIAL"); return 'CLOSE'; } <mu>"}}" { this.begin("INITIAL"); return 'CLOSE'; } <mu>'"'("\\"["]|[^"])*'"' { yytext = yytext.substr(1,yyleng-2).replace(/\\"/g,'"'); return 'STRING'; } -<mu>[a-zA-Z0-9_]+/[=} /.] { return 'ID'; } +<mu>[a-zA-Z0-9_-]+/[=} /.] { return 'ID'; } <mu>. { return 'INVALID'; } <INITIAL,mu><<EOF>> { return 'EOF'; } |