conditional optional unwrapping
This commit is contained in:
@@ -204,6 +204,9 @@ lex :: proc(
|
||||
case ',':
|
||||
append_token(&stream, source_file, .Comma, cursor, cursor+1)
|
||||
cursor += 1
|
||||
case '|':
|
||||
append_token(&stream, source_file, .Pipe, cursor, cursor+1)
|
||||
cursor += 1
|
||||
case '"':
|
||||
start := cursor
|
||||
cursor += 1
|
||||
|
||||
Reference in New Issue
Block a user