summaryrefslogtreecommitdiff
path: root/test/munit.c
diff options
context:
space:
mode:
authorCarlos Maniero <carlosmaniero@gmail.com>2023-04-20 13:32:36 -0300
committerJohnny Richard <johnny@johnnyrichard.com>2023-04-20 18:31:55 +0200
commit3ceb85bd93fa87a5be3682ab8995abea82a63ea3 (patch)
tree9512c4255bd87967dfd42a8ca68abd18e34e7407 /test/munit.c
parenta47e5ceb6eefdac9c5f5473e1fee0d33a5f4646e (diff)
parser: Stop exiting on parser error
Previously, when an error occurred during parsing, the application would exit, making it difficult to test the parser and limiting the compiler's extensibility. This commit improves the parser's error handling by allowing for continued execution after an error, enabling easier testing and increased flexibility. The parser is prepared to handle multiples errors, although the current implementation always returns a single error, it may be useful given multiples functions where we can show errors by context. Signed-off-by: Carlos Maniero <carlosmaniero@gmail.com> Reviwed-by: Johnny Richard <johnny@johnnyrichard.com>
Diffstat (limited to 'test/munit.c')
0 files changed, 0 insertions, 0 deletions