aboutsummaryrefslogtreecommitdiff
path: root/spec/syntax_error.go
diff options
context:
space:
mode:
Diffstat (limited to 'spec/syntax_error.go')
-rw-r--r--spec/syntax_error.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/syntax_error.go b/spec/syntax_error.go
index 6c6b9d7..25701a3 100644
--- a/spec/syntax_error.go
+++ b/spec/syntax_error.go
@@ -28,4 +28,6 @@ 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")
+ synErrNoModifierName = newSyntaxError("a modifier needs a name")
+ synErrNoActionName = newSyntaxError("an action needs a name")
)