Skip to content

Commit

Permalink
Use newSourceEnd for sourceAnd calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanderhel committed Dec 20, 2011
1 parent 5ac9044 commit 0a87943
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ private long recalcSourcePosition(long sourcePosition) {
// start = newSourceStart;
// end = newSourceStart;
// return ((start<<32)+end);
return ((long)newSourceStart << 32) | (newSourceStart & INT_TO_LONG_MASK);
return ((long)newSourceStart << 32) | (newSourceEnd & INT_TO_LONG_MASK);
}

@Override public boolean visit(AllocationExpression node, BlockScope scope) {
Expand Down

0 comments on commit 0a87943

Please sign in to comment.