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

Hex values in text format file cannot be parsed. Protoc-c --encode permits hex values. #10

Open
kinyubi opened this issue Mar 9, 2016 · 0 comments

Comments

@kinyubi
Copy link

kinyubi commented Mar 9, 2016

a message field is defined as uint32 in the .proto file. If the text format file specifies the value as 0xFFFF, the parse fails with the ProtobufCTextError error_txt field set to "Error found on line nn. field_xx is not an enum field."

When the value is specified as decimal 65535, no error occurs. This should be considered an error because protoc-c properly parses hex and decimal values.

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

No branches or pull requests

2 participants
@kinyubi and others