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

Leading 0x for hex cannot be written as 0X #508

Closed
MauricioFauth opened this issue Sep 15, 2023 · 0 comments · Fixed by #509
Closed

Leading 0x for hex cannot be written as 0X #508

MauricioFauth opened this issue Sep 15, 2023 · 0 comments · Fixed by #509
Assignees
Labels
Milestone

Comments

@MauricioFauth
Copy link
Member

Summary

A leading 0x is case-sensitive and cannot be written as 0X.

Current behavior

$ bin/tokenize-query --query '0X0F'
[TOKEN 0]
Type = 6
Flags = 1
Value = 15
Token = '0X0F'

[TOKEN 1]
Type = 9
Flags = 0
Value = NULL
Token = NULL

Expected behavior

$ bin/tokenize-query --query '0X0F'
[TOKEN 0]
Type = 0
Flags = 0
Value = '0X0F'
Token = '0X0F'

[TOKEN 1]
Type = 9
Flags = 0
Value = NULL
Token = NULL
@MauricioFauth MauricioFauth self-assigned this Sep 15, 2023
@MauricioFauth MauricioFauth linked a pull request Sep 15, 2023 that will close this issue
@MauricioFauth MauricioFauth added this to the 5.8.1 milestone Sep 15, 2023
MauricioFauth added a commit that referenced this issue Sep 15, 2023
[ci skip]

Signed-off-by: Maurício Meneghini Fauth <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant