diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2022-03-29 01:43:36 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-03-29 01:45:08 +0900 |
commit | 4d2a389c0ea605413d1cc89ae35f2a3aaa293072 (patch) | |
tree | 6b6a5fe98f2a27a38cdbc569706e43970fbc05e5 /spec/syntax_error.go | |
parent | Add label notation (diff) | |
download | urubu-4d2a389c0ea605413d1cc89ae35f2a3aaa293072.tar.gz urubu-4d2a389c0ea605413d1cc89ae35f2a3aaa293072.tar.xz |
Use IDs and labels as parameters of an #ast directive instead of symbol positions
Diffstat (limited to 'spec/syntax_error.go')
-rw-r--r-- | spec/syntax_error.go | 1 |
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") |