summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Broadfoot <chris@chrisbroadfoot.id.au>2013-03-04 16:08:00 -0800
committerChris Broadfoot <chris@chrisbroadfoot.id.au>2013-03-04 16:08:00 -0800
commite4a0ac4b040d9ab0decf547c6e4684f86befc99b (patch)
tree981cfc2659e214ee39c277888441b3b33031cb50 /src
parent948231a31d7d6786f1ea0a293a378b20928f6f2b (diff)
downloadhandlebars.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.l2
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'; }