aboutsummaryrefslogtreecommitdiff
path: root/spec/syntax_error.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-06-15 19:44:51 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-06-15 19:44:51 +0900
commit434ee1561016d0fd5099c755b150365b7a528c6b (patch)
tree682b822a8b30df0bcab5e132068232dce88360a4 /spec/syntax_error.go
parentAdd spec parser (diff)
downloadcotia-434ee1561016d0fd5099c755b150365b7a528c6b.tar.gz
cotia-434ee1561016d0fd5099c755b150365b7a528c6b.tar.xz
Add production syntax
Diffstat (limited to 'spec/syntax_error.go')
-rw-r--r--spec/syntax_error.go1
1 files changed, 0 insertions, 1 deletions
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")
)