Skip to content

Commit

Permalink
fix: format scanner and don't bother parsing during error recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Jan 31, 2024
1 parent eb6b845 commit 35cc439
Show file tree
Hide file tree
Showing 2 changed files with 215 additions and 177 deletions.
1 change: 1 addition & 0 deletions common/define-grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = function defineGrammar(dialect) {

externals: ($, previous) => previous.concat([
$._function_signature_automatic_semicolon,
$.__error_recovery,
]),

supertypes: ($, previous) => previous.concat([
Expand Down
Loading

0 comments on commit 35cc439

Please sign in to comment.