Skip to content

Commit

Permalink
Fix source locs
Browse files Browse the repository at this point in the history
  • Loading branch information
wcjohnson committed Oct 25, 2017
1 parent 933d76a commit a4607d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/catchExpression.js
Expand Up @@ -7,7 +7,7 @@ export default function(parser) {
parser.__catchExpressionPluginInstalled = true;

pp.parseCatchExpression = function(expr) {
const node = this.startNodeAt(expr.start);
const node = this.startNodeAt(expr.start, expr.loc.start);
node.expression = expr;
const catchIndentLevel = this.state.indentLevel;
const isEnd = () =>
Expand Down

0 comments on commit a4607d5

Please sign in to comment.