diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2021-09-11 00:40:05 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-09-11 22:57:17 +0900 |
commit | 96a555a00f000704c618c226485fa6d87ce66d9d (patch) | |
tree | 9d7398033a2c015390f0de7ab69b6fd37bb1ba30 /spec/spec.go | |
parent | Remove --debug option from the lex command (diff) | |
download | tre-96a555a00f000704c618c226485fa6d87ce66d9d.tar.gz tre-96a555a00f000704c618c226485fa6d87ce66d9d.tar.xz |
Define a lexical specification interface
Diffstat (limited to 'spec/spec.go')
-rw-r--r-- | spec/spec.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |