From 96a555a00f000704c618c226485fa6d87ce66d9d Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Sat, 11 Sep 2021 00:40:05 +0900 Subject: Define a lexical specification interface --- spec/spec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/spec.go') diff --git a/spec/spec.go b/spec/spec.go index d4f6346..9ac5f4b 100644 --- a/spec/spec.go +++ b/spec/spec.go @@ -24,8 +24,8 @@ func (id LexKindID) Int() int { type LexModeKindID int const ( - LexModeKindIDNil = LexKindID(0) - LexModeKindIDMin = LexKindID(1) + LexModeKindIDNil = LexModeKindID(0) + LexModeKindIDMin = LexModeKindID(1) ) func (id LexModeKindID) Int() int { -- cgit v1.2.3