diff options
Diffstat (limited to 'spec/syntax_error.go')
-rw-r--r-- | spec/syntax_error.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/syntax_error.go b/spec/syntax_error.go index 9d67ccc..b427bed 100644 --- a/spec/syntax_error.go +++ b/spec/syntax_error.go @@ -20,6 +20,7 @@ var ( synErrUnclosedTerminal = newSyntaxError("unclosed terminal") synErrInvalidEscSeq = newSyntaxError("invalid escape sequence") synErrIncompletedEscSeq = newSyntaxError("incompleted escape sequence; unexpected EOF following a backslash") + synErrEmptyPattern = newSyntaxError("a pattern must include at least one character") synErrZeroPos = newSyntaxError("a position must be greater than or equal to 1") // syntax errors |