Permalink
Browse files

Err... forgot one bit. Fixed now

  • Loading branch information...
1 parent d156691 commit e7bc101cf28c9141c4721b6267fe602b29a9fd7d @rinon rinon committed Aug 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/esprima.js
View
@@ -2019,15 +2019,15 @@
// 11.11 Binary Logical Operators
function parseLogicalANDExpression() {
- var expr = parseBitwiseXORExpression();
+ var expr = parseBitwiseORExpression();
while (match('&&')) {
lex();
expr = {
type: Syntax.LogicalExpression,
operator: '&&',
left: expr,
- right: parseBitwiseXORExpression()
+ right: parseBitwiseORExpression()
};
}

0 comments on commit e7bc101

Please sign in to comment.