Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow colon characters in identifiers

Issue #460
  • Loading branch information...
commit 681f1a63961b04c68dc4e671513675e946f6f3f9 1 parent bf30bf9
@jpfiset jpfiset authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/handlebars.l
View
2  src/handlebars.l
@@ -43,7 +43,7 @@
<mu>"true"/[}\s] { return 'BOOLEAN'; }
<mu>"false"/[}\s] { return 'BOOLEAN'; }
<mu>\-?[0-9]+/[}\s] { return 'INTEGER'; }
-<mu>[a-zA-Z0-9_$-]+/[=}\s\/.] { return 'ID'; }
+<mu>[a-zA-Z0-9_$:-]+/[=}\s\/.] { return 'ID'; }
<mu>'['[^\]]*']' { yytext = yytext.substr(1, yyleng-2); return 'ID'; }
<mu>. { return 'INVALID'; }
<par>\s+ { /*ignore whitespace*/ }
Please sign in to comment.
Something went wrong with that request. Please try again.