diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2021-06-15 19:44:51 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-06-15 19:44:51 +0900 |
commit | 434ee1561016d0fd5099c755b150365b7a528c6b (patch) | |
tree | 682b822a8b30df0bcab5e132068232dce88360a4 /spec/syntax_error.go | |
parent | Add spec parser (diff) | |
download | urubu-434ee1561016d0fd5099c755b150365b7a528c6b.tar.gz urubu-434ee1561016d0fd5099c755b150365b7a528c6b.tar.xz |
Add production syntax
Diffstat (limited to 'spec/syntax_error.go')
-rw-r--r-- | spec/syntax_error.go | 1 |
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") ) |