Skip to content
Browse files

Allow accessing properties in current context using paths. This is to

avoid name collisions with registered helper functions.

Issue #458
  • Loading branch information...
1 parent 948231a commit bf30bf911562a11764c768f76e2490b51423ff91 @jpfiset jpfiset committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/handlebars.l
View
2 src/handlebars.l
@@ -31,7 +31,7 @@
<mu>"{{" { return 'OPEN'; }
<mu>"=" { return 'EQUALS'; }
-<mu>"."/[} ] { return 'ID'; }
+<mu>"."/[}/ ] { return 'ID'; }
<mu>".." { return 'ID'; }
<mu>[\/.] { return 'SEP'; }
<mu>\s+ { /*ignore whitespace*/ }

0 comments on commit bf30bf9

Please sign in to comment.
Something went wrong with that request. Please try again.