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

Fix #179 catch-all masking and add more test cases #201

Merged
merged 1 commit into from
Feb 10, 2021

Conversation

SSMKittel
Copy link
Contributor

Fixes the incorrect masking in CatchAllToken.
TDS_CURDECLARE3 also does not obey the rules on token length, so it has been special-cased.
Additionally, all "Zero-Length" tokens are not actually zero-length; their length is defined by prior tokens in the stream, so it would cause unpredictable errors if they are encountered by the CatchAllToken; as such they now throw exceptions instead.

@ngvtien ngvtien self-requested a review February 10, 2021 08:53
@ngvtien ngvtien merged commit a0d87f8 into DataAction:master Feb 10, 2021
@ngvtien ngvtien added this to the 0.19.2 milestone Feb 10, 2021
@ngvtien ngvtien linked an issue Feb 10, 2021 that may be closed by this pull request
@ngvtien ngvtien linked an issue Feb 10, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect length calculation in CatchAllToken
2 participants