Compare commits

..

4 Commits

Author SHA1 Message Date
2474e0c773 Slightly change the valid test input file
All checks were successful
Validate the build / validate-build (push) Successful in 27s
2025-04-02 12:33:36 +02:00
6b840ad888 add functionality to main to parse and print the ast 2025-04-02 12:33:36 +02:00
b1391b91bd Partial parser implementation 2025-04-02 12:33:36 +02:00
c9b29e10e8 Fix incorrect size comparison in lexer_consume_n
The buffer length len and the requested number of tokens n are mixed up
in an invalid comparison. This causes all valid requests for n < len
tokens to be denied and all invalid requests for n > len tokens to be
accepted. This may cause a buffer overflow if the caller requests more
characters than they provide space for.
2025-04-02 12:33:30 +02:00

Diff Content Not Available