From efe5afdbb59b70214e6d70db5197dc945d5b213e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Dujava?= <19737748+jdujava@users.noreply.github.com> Date: Sat, 27 Jul 2024 22:14:30 +0200 Subject: [PATCH] Remove dead code (#156) Signed-off-by: Jonas Dujava --- grammar.js | 1 - src/grammar.json | 16 ---------------- 2 files changed, 17 deletions(-) diff --git a/grammar.js b/grammar.js index ac43d814b..f6097a561 100644 --- a/grammar.js +++ b/grammar.js @@ -309,7 +309,6 @@ module.exports = grammar({ seq( $._enum_itemdeclaration, repeat($._flat_content), - optional(prec.right(choice())), ), ), diff --git a/src/grammar.json b/src/grammar.json index 093c2441d..ff869b0d5 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -1066,22 +1066,6 @@ "type": "SYMBOL", "name": "_flat_content" } - }, - { - "type": "CHOICE", - "members": [ - { - "type": "PREC_RIGHT", - "value": 0, - "content": { - "type": "CHOICE", - "members": [] - } - }, - { - "type": "BLANK" - } - ] } ] }