Compare commits

..

4 Commits

Author SHA1 Message Date
28283dd381 Slightly change the valid test input file
All checks were successful
Validate the build / validate-build (push) Successful in 26s
2025-04-02 12:31:53 +02:00
bc360a8271 add functionality to main to parse and print the ast 2025-04-02 12:31:53 +02:00
fb4d894e98 Partial parser implementation 2025-04-02 12:31:53 +02:00
70033bcf5e TODO: REVIEW ME AND WRITE PROPER MESSAGE
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:29:35 +02:00

Diff Content Not Available