From 434ee1561016d0fd5099c755b150365b7a528c6b Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Tue, 15 Jun 2021 19:44:51 +0900 Subject: Add production syntax --- spec/syntax_error.go | 1 - 1 file changed, 1 deletion(-) (limited to 'spec/syntax_error.go') diff --git a/spec/syntax_error.go b/spec/syntax_error.go index 815b38f..6c6b9d7 100644 --- a/spec/syntax_error.go +++ b/spec/syntax_error.go @@ -28,5 +28,4 @@ var ( synErrNoProductionName = newSyntaxError("a production name is missing") synErrNoColon = newSyntaxError("the colon must precede alternatives") synErrNoSemicolon = newSyntaxError("the semicolon is missing at the last of an alternative") - synErrNoElement = newSyntaxError("an alternative must have at least one element") ) -- cgit v1.2.3