Permalink
Browse files

Allow dollar sign `$` in identifiers (closes #209)

Push to 3.3.1
  • Loading branch information...
bminer committed May 9, 2017
1 parent ff71337 commit ab5ca148a8f5e10a53825af39ce4e65239c06d4a
Showing with 9 additions and 9 deletions.
  1. +2 −2 lib/parser/blade-grammar.pegjs
  2. +6 −6 lib/parser/index.js
  3. +1 −1 package.json
@@ -496,8 +496,8 @@ filter "filter" =
/************** Lexer & other basic rules **************/
identifier =
- first_char: [a-zA-Z_]
- next_chars: [a-zA-Z0-9_:-]*
+ first_char: [a-zA-Z_$]
+ next_chars: [a-zA-Z0-9_$:-]*
{return first_char + next_chars.join("");}
alpha "letters" =
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -15,7 +15,7 @@
"live binding",
"meteor"
],
- "version": "3.3.0",
+ "version": "3.3.1",
"homepage": "https://github.com/bminer/node-blade",
"repository": {
"type": "git",

0 comments on commit ab5ca14

Please sign in to comment.