cleanup (isle 6 again?)
This commit is contained in:
@@ -245,9 +245,9 @@ scan_ident proc(start usize, program []u8) ScanIdentResult {
|
||||
|
||||
# don't intern keywords (already O(1) lookup via token kind)
|
||||
str_id :: if (kind == .ident)
|
||||
strpool.intern(&strpool.strings, program[start..cursor]) catch strpool.NO_ID_STR
|
||||
strpool.intern(&strpool.STRINGS, program[start..cursor]) catch strpool.NO_STR
|
||||
else
|
||||
strpool.NO_ID_STR
|
||||
strpool.NO_STR
|
||||
|
||||
return ScanIdentResult{
|
||||
end = cursor,
|
||||
|
||||
Reference in New Issue
Block a user