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

Fixes and enhancements #530

Merged
merged 4 commits into from
Aug 20, 2024
Merged

Fixes and enhancements #530

merged 4 commits into from
Aug 20, 2024

Conversation

RhoSigma-QB64
Copy link
Member

Look into the commit comments.

- width/height were off by one compared to the Display dialog
- set upper limit for compiler threads to 128 as discussed on Discord
- fixing auto-generated pages for user SUBs and FUNCs taking arrays as arguments
- https://discord.com/channels/975381912350752819/1208941399127494667/1274879519387418676
- now allows `_LASTHANDLER` keyword in place of a label to restore back to the last used handler label
- will silently fall back to "unhandled" (`ON ERROR GOTO 0`), if no more handlers are in the queue
- useful for library makers to restore an old handler, when it was formerly changed for library internal purposes
- checks correct function of `ON ERROR GOTO label` in conjuction with `ON ERROR GOTO _LASTHANDLER`
@RhoSigma-QB64 RhoSigma-QB64 added bug Something isn't working enhancement New feature or request labels Aug 19, 2024
@RhoSigma-QB64 RhoSigma-QB64 self-assigned this Aug 19, 2024
@@ -16,6 +16,7 @@ uint32_t error_occurred;
uint32_t error_retry;
uint32_t error_err; //=0;
uint32_t error_goto_line;
qbs *error_handler_history;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than a qbs could you use a std::stack<uint32_t>? It seems like that's what you're created and std::stack would avoid all the string manipulation.

@RhoSigma-QB64 RhoSigma-QB64 merged commit ce20b3a into main Aug 20, 2024
4 checks passed
@RhoSigma-QB64 RhoSigma-QB64 deleted the fixes-and-enhancements branch August 20, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

3 participants