Revert "feat(generate): warn about unreachable variables (#4567)"
This reverts commit 25c601bd2f.
Reason: Too many false positives.
This commit is contained in:
parent
25c601bd2f
commit
c18d019db0
1 changed files with 0 additions and 1 deletions
|
|
@ -247,7 +247,6 @@ pub(crate) fn parse_grammar(input: &str) -> ParseGrammarResult<InputGrammar> {
|
|||
&mut in_progress,
|
||||
)
|
||||
{
|
||||
eprintln!("Warning: unused variable {name:?}");
|
||||
grammar_json.conflicts.retain(|r| !r.contains(name));
|
||||
grammar_json.supertypes.retain(|r| r != name);
|
||||
grammar_json.inline.retain(|r| r != name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue