JsLIGO: Pass ES6FUN token also when a syntax error occurs in the PreParser
type:internal
Before when an error occurred in the PreParser it bailed out by returning the input tokens. As a result any inserted ES6FUN
token was lost and errors appeared in the wrong places. This MR solves this by reinserting ES6FUN
tokens when something goes wrong in the PreParser.
Changelog details: JsLIGO: Pass ES6FUN token also when a syntax error occurs in the PreParser
Edited by Sander