Skip to content

Commit

Permalink
Fix BinaryExpression position bug
Browse files Browse the repository at this point in the history
  • Loading branch information
duaraghav8 committed Jan 13, 2019
1 parent 8cbb9c1 commit 005207f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solidity.pegjs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
operator: element[1],
left: result,
right: element[3],
start: location().start.offset,
end: location().end.offset
start: result.start,
end: element[3].end
};
});
}
Expand Down

1 comment on commit 005207f

@duaraghav8
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.