Permalink
Browse files

ometa: fix parens handling

  • Loading branch information...
1 parent 7d1116a commit 4704185c047464ddb80969b2c3e6ffe1b3345eea @indutny indutny committed Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/xjst/ometa/xjst.ometajs
@@ -233,7 +233,7 @@ ometa XJSTTranslator <: XJSTIdentity {
]
} | :expr -> [expr, []],
- subMatch = [#parens [#binop '===' :a :b]:e] subMatch(e):r -> r |
+ subMatch = [#parens :e] subMatch(e):r -> r |
[#binop '===' :e1 const:c] -> [e1, c] |
[#binop '===' const:c :e2] -> [e2, c] |
:e3 -> [[#unop, '!', e3], [#get, #false]],

0 comments on commit 4704185

Please sign in to comment.