From 4d2a389c0ea605413d1cc89ae35f2a3aaa293072 Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Tue, 29 Mar 2022 01:43:36 +0900 Subject: Use IDs and labels as parameters of an #ast directive instead of symbol positions --- spec/syntax_error.go | 1 - 1 file changed, 1 deletion(-) (limited to 'spec/syntax_error.go') 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") -- cgit v1.2.3