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.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/syntax_error.go b/spec/syntax_error.go
index 741d578..92348db 100644
--- a/spec/syntax_error.go
+++ b/spec/syntax_error.go
@@ -22,7 +22,6 @@ var (
synErrIncompletedEscSeq = newSyntaxError("incompleted escape sequence; unexpected EOF following a backslash")
synErrEmptyPattern = newSyntaxError("a pattern must include at least one character")
synErrEmptyString = newSyntaxError("a string must include at least one character")
- synErrZeroPos = newSyntaxError("a position must be greater than or equal to 1")
// syntax errors
synErrInvalidToken = newSyntaxError("invalid token")