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.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/grammar/semantic_error.go b/grammar/semantic_error.go
index c81cb5f..a843719 100644
--- a/grammar/semantic_error.go
+++ b/grammar/semantic_error.go
@@ -15,9 +15,7 @@ func (e *SemanticError) Error() string {
}
var (
- semErrMDInvalidName = newSemanticError("invalid meta data name")
- semErrMDInvalidParam = newSemanticError("invalid parameter")
- semErrMDMissingName = newSemanticError("name is missing")
+ semErrNoGrammarName = newSemanticError("name is missing")
semErrDuplicateAssoc = newSemanticError("associativity and precedence cannot be specified multiple times for a symbol")
semErrUndefinedPrec = newSemanticError("symbol must has precedence")
semErrUnusedProduction = newSemanticError("unused production")