Fix field parsing
This commit is contained in:
12
lexer.kl
12
lexer.kl
@@ -1,4 +1,14 @@
|
||||
Lex_Stream :: struct
|
||||
stream: String
|
||||
offset: int
|
||||
|
||||
lexc :: (s: *Lex_Stream): String // @todo U8 U S
|
||||
return s.stream + s.offset // @todo parsing fields wrong + s.offset // + s.offset @todo Actual string support
|
||||
|
||||
main :: ()
|
||||
pass
|
||||
string_to_lex := "Identifier 2425525 Not_Number"
|
||||
s := Lex_Stream(stream=string_to_lex)
|
||||
|
||||
for inf:=0, inf, inf // @todo for
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user