diff options
| author | 0x221e | 2026-06-17 00:07:58 +0200 |
|---|---|---|
| committer | 0x221e | 2026-06-17 01:12:23 +0300 |
| commit | 8a77b4096d9f61b6b6eaefb4c8c8abe7f4793b73 (patch) | |
| tree | 2a51d4bc47e9add8c4175b6906ca8b1e5921c133 /platform/elf/osal.c | |
| parent | 9224992817c3faf7d6274681fb5bacc5ad761504 (diff) | |
lex: pretty error messages and lex_number() checks
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.
Diffstat (limited to 'platform/elf/osal.c')
| -rw-r--r-- | platform/elf/osal.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/elf/osal.c b/platform/elf/osal.c index 414cd80..2630b97 100644 --- a/platform/elf/osal.c +++ b/platform/elf/osal.c @@ -51,6 +51,11 @@ void print(const char *fmt, ...) va_end(args); } +void printv(const char *fmt, va_list l) +{ + vprintf(fmt, l); +} + void exitc(int c) { exit(c); |
