Skip to content

Commit

Permalink
fixed typo in AST node produced by re rule (regExp -> regExpr)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwarth committed Jul 1, 2011
1 parent 7dec04d commit 90fc307
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bs-js-compiler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bs-js-compiler.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ometa BSJSParser {
json = "{" listOf(#jsonBinding, ','):bs "}" -> [#json].concat(bs),
jsonBinding = jsonPropName:n ":" expr:v -> [#binding, n, v],
jsonPropName = "name" | "number" | "string",
re = spaces <'/' reBody '/' reFlag*>:x -> [#regExp, x],
re = spaces <'/' reBody '/' reFlag*>:x -> [#regExpr, x],
reBody = re1stChar reChar*,
re1stChar = ~('*' || '\\' || '/' || '[') reNonTerm
| escapeChar
Expand Down

0 comments on commit 90fc307

Please sign in to comment.