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.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/syntax_error.go b/spec/syntax_error.go
index cefde12..59ef62d 100644
--- a/spec/syntax_error.go
+++ b/spec/syntax_error.go
@@ -18,9 +18,10 @@ func (e *SyntaxError) Error() string {
var (
// lexical errors
+ synErrAutoGenID = newSyntaxError("you cannot define an identifier beginning with an underscore")
synErrUnclosedTerminal = newSyntaxError("unclosed terminal")
synErrInvalidEscSeq = newSyntaxError("invalid escape sequence")
- synErrIncompletedEscSeq = newSyntaxError("incompleted escape sequence; unexpected EOF following \\")
+ synErrIncompletedEscSeq = newSyntaxError("incompleted escape sequence; unexpected EOF following a backslash")
synErrZeroPos = newSyntaxError("a position must be greater than or equal to 1")
// syntax errors