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

Support hex enums #29

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Support hex enums #29

merged 1 commit into from
Jun 26, 2024

Conversation

criccomini
Copy link
Owner

No description provided.

Protobuf allows enums to be assigned hex numbers in addition to base 10. The
parser was not supporting this. Now it does.

The hex check treats any string that starts with `0x` as hex. It's not
completely accurate; we should probably use a regex. But it's good enough.

Closes #28
@criccomini criccomini force-pushed the add-hex-enum-support branch from 26141a0 to 93efeb2 Compare June 26, 2024 21:42
@criccomini criccomini merged commit d1f14c2 into main Jun 26, 2024
1 check passed
@criccomini criccomini deleted the add-hex-enum-support branch June 26, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant