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

Implement comprehensive error message mechanism #6

Open
anachrocomputer opened this issue Aug 29, 2022 · 2 comments
Open

Implement comprehensive error message mechanism #6

anachrocomputer opened this issue Aug 29, 2022 · 2 comments
Assignees

Comments

@anachrocomputer
Copy link
Owner

Report source file name and line number. Send error report to 'stderr'. Maybe allow for printf-style string formatting.

@anachrocomputer anachrocomputer self-assigned this Aug 29, 2022
@anachrocomputer
Copy link
Owner Author

Add a function to print a message for an internal compiler error, e.g. in the 'default' position of a 'switch' that should never reach it.

@anachrocomputer
Copy link
Owner Author

Make the compiler return EXIT_SUCCESS, or EXIT_FAILURE if 'Error()' is ever called.

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

No branches or pull requests

1 participant