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

error reporting for char class expansion #996

Merged
merged 5 commits into from
Jan 1, 2023
Merged

error reporting for char class expansion #996

merged 5 commits into from
Jan 1, 2023

Conversation

lsf37
Copy link
Member

@lsf37 lsf37 commented Jan 1, 2023

Because we allow macros in the syntax for char class contents, we can get arbitrary regular expressions inside, not just char class content expressions.

This commit turns the previous "cannot happen" check for such a case into proper error reporting.

Fixes #888 and #939

@lsf37 lsf37 self-assigned this Jan 1, 2023
@lsf37 lsf37 added the bug Not working as intended label Jan 1, 2023
@lsf37 lsf37 added this to the 1.9.0 milestone Jan 1, 2023
@lsf37 lsf37 linked an issue Jan 1, 2023 that may be closed by this pull request
@lsf37 lsf37 force-pushed the prim branch 2 times, most recently from 8436f31 to 7a5a2dd Compare January 1, 2023 22:12
lsf37 added 4 commits January 2, 2023 09:22
Because we allow macros in the syntax for char class contents, we can
get arbitrary regular expressions inside, not just char class content
expressions.

This commit turns the previous "cannot happen" check for such a case
into proper error reporting.

Fixes #888 and #939
@lsf37 lsf37 merged commit f4f5fe3 into master Jan 1, 2023
@lsf37 lsf37 deleted the prim branch January 1, 2023 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Projects
None yet
1 participant