Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved error handling #9

Open
nordtechtiger opened this issue Dec 7, 2024 · 3 comments
Open

Improved error handling #9

nordtechtiger opened this issue Dec 7, 2024 · 3 comments
Labels

Comments

@nordtechtiger
Copy link
Owner

Quickbuild currently throws a segfault and coredumps when faced with most incorrect configuration files. This needs to be revamped.

A good starting place would be to tag tokens (and AST fields) with the location of the original data from the config and add a separate error handler which can backtrack and exit gracefully upon an error.

@nordtechtiger nordtechtiger mentioned this issue Dec 7, 2024
15 tasks
@nordtechtiger
Copy link
Owner Author

Note to self: Look into why objects as "foo" yields the correct error origin towards the top of the config file but not the bottom.

@nordtechtiger
Copy link
Owner Author

Fixed in 6c35202. I just want to make some more common errors recoverable in builder.cpp, e.g. misspelled variable names, etc.

@nordtechtiger
Copy link
Owner Author

9dff725 is ok for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant