| Age | Commit message (Collapse) | Author |
|
Error messages are now pretty (not rlly), and lex_number() now checks
improper use of number and binary literals. osal.h now also requires
platforms to implement a printv() wrapper.
|
|
l->pos increments are replaced with lex_advance, which now accepts
offsets. lex_advance() now returns 0 and does not increment past
buffer size upon out-of-bounds.
|
|
Add lex_get_token_name() to lex/lex.c and refactor platform/elf/main.c
so that it prints the token identifier string rather than int.
|
|
|