aboutsummaryrefslogtreecommitdiff
path: root/driver/lexer.go
diff options
context:
space:
mode:
Diffstat (limited to 'driver/lexer.go')
-rw-r--r--driver/lexer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/lexer.go b/driver/lexer.go
index 4a3c3cc..356b168 100644
--- a/driver/lexer.go
+++ b/driver/lexer.go
@@ -245,7 +245,7 @@ func (l *lexer) next() (*Token, error) {
state = nextState
id, ok := l.clspec.DFA.AcceptingStates[state]
if ok {
- tok = newToken(id, l.clspec.Kinds[id], newByteSequence(buf))
+ tok = newToken(id, l.clspec.Kinds[id].String(), newByteSequence(buf))
unfixedBufLen = 0
}
}