aboutsummaryrefslogtreecommitdiffstats
path: root/lexer.go
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-10-26 18:51:00 -0700
committerRose Hogenson <rosehogenson@posteo.net>2025-10-26 18:51:00 -0700
commit49ff523aad4d0373e9203698edc79f6fe0130935 (patch)
treef3d5bc11859c38b9114c5a6f9f515da83b699279 /lexer.go
parentSeparate the lexer (diff)
downloadccl-49ff523aad4d0373e9203698edc79f6fe0130935.tar.zst
Fix typo
Diffstat (limited to 'lexer.go')
-rw-r--r--lexer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer.go b/lexer.go
index ee72b33..4fc6ca4 100644
--- a/lexer.go
+++ b/lexer.go
@@ -63,7 +63,7 @@ func (l *lexer) tokens() {
case '\'':
str := stringRE.Find(l.data[l.i+1:])
if str == nil {
- l.error("invaild string")
+ l.error("invalid string")
return
}
if !l.yield(1 + len(str)) {