Skip to content

initialise charClasses for 7bit scanners #758

Merged
lsf37 merged 3 commits intomasterfrom
7bit
May 3, 2020
Merged

initialise charClasses for 7bit scanners #758
lsf37 merged 3 commits intomasterfrom
7bit

Conversation

@lsf37
Copy link
Member

@lsf37 lsf37 commented May 3, 2020

Char class initialisation for 7bit scanners got lost in one of the refactors between v1.7.0 and v1.8.0.

This PR adds a test for 7bit scanners specifically, and makes sure the initialisation code is called on all paths.

This should fix #756

Currently fails in scanner generation (#756)
@lsf37 lsf37 requested a review from sarowe as a code owner May 3, 2020 03:23
lsf37 added 2 commits May 3, 2020 11:29
Previously, unicode char class initialisation was skipped for `%7bit`
scanners, which after a previous refactor meant that initialisation was
skipped completely.

Fixes #756
@lsf37
Copy link
Member Author

lsf37 commented May 3, 2020

(fixed formatting)

@lsf37 lsf37 added the bug Not working as intended label May 3, 2020
@lsf37 lsf37 self-assigned this May 3, 2020
@lsf37 lsf37 added this to the 1.8.2 milestone May 3, 2020
@lsf37 lsf37 merged commit bb37e0d into master May 3, 2020
@lsf37 lsf37 deleted the 7bit branch May 3, 2020 03:49
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

Development

Successfully merging this pull request may close these issues.

7bit switch doesn't work but 8bit and unicode does

1 participant