diff options
author | Chris Broadfoot <chris@chrisbroadfoot.id.au> | 2013-03-04 16:08:00 -0800 |
---|---|---|
committer | Chris Broadfoot <chris@chrisbroadfoot.id.au> | 2013-03-04 16:08:00 -0800 |
commit | e4a0ac4b040d9ab0decf547c6e4684f86befc99b (patch) | |
tree | 981cfc2659e214ee39c277888441b3b33031cb50 /src | |
parent | 948231a31d7d6786f1ea0a293a378b20928f6f2b (diff) | |
download | handlebars.js-e4a0ac4b040d9ab0decf547c6e4684f86befc99b.zip handlebars.js-e4a0ac4b040d9ab0decf547c6e4684f86befc99b.tar.gz handlebars.js-e4a0ac4b040d9ab0decf547c6e4684f86befc99b.tar.bz2 |
Fix Rhino support
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 b32e39c..5fa2bc0 100644 --- a/src/handlebars.l +++ b/src/handlebars.l @@ -47,7 +47,7 @@ <mu>'['[^\]]*']' { yytext = yytext.substr(1, yyleng-2); return 'ID'; } <mu>. { return 'INVALID'; } <par>\s+ { /*ignore whitespace*/ } -<par>[a-zA-Z0-9_$-/]+ { this.popState(); return 'PARTIAL_NAME'; } +<par>[a-zA-Z0-9_$-\/]+ { this.popState(); return 'PARTIAL_NAME'; } <INITIAL,mu><<EOF>> { return 'EOF'; } |