Skip to content

Commit

Permalink
Merge pull request #71 from maryvilledev/cs_70
Browse files Browse the repository at this point in the history
Fixed error callback end being NaN
  • Loading branch information
Hopding authored Apr 27, 2017
2 parents e40b448 + 395c746 commit e1fc35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/error_listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ErrorListener.prototype.syntaxError = function(recognizer, offendingSymbol, line
this.callback({
'type': 'syntaxError',
'begin': offendingSymbol.start,
'end': offendingSymbol.end + 1,
'end': offendingSymbol.stop + 1,
'msg': msg,
});
};
Expand Down

0 comments on commit e1fc35c

Please sign in to comment.