aboutsummaryrefslogtreecommitdiff
path: root/grammar/semantic_error.go
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/semantic_error.go')
-rw-r--r--grammar/semantic_error.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/grammar/semantic_error.go b/grammar/semantic_error.go
index 01446ed..63f9325 100644
--- a/grammar/semantic_error.go
+++ b/grammar/semantic_error.go
@@ -17,6 +17,7 @@ func (e *SemanticError) Error() string {
var (
semErrNoProduction = newSemanticError("a grammar needs at least one production")
semErrUndefinedSym = newSemanticError("undefined symbol")
+ semErrDuplicateSym = newSemanticError("duplicate symbol")
semErrDirInvalidName = newSemanticError("invalid directive name")
semErrDirInvalidParam = newSemanticError("invalid parameter")
)