Open mjmdavis opened 5 years ago
Pyrobuf does not support package resolution when resolving type names.
When processing a line like:
optional package.enumtype fieldname = 4;
the parser returns:
Exception: Unexpected character '.' on line 35: ' optional package.enumtype fieldname = 4;'
This looks like it could be an easyish fix.
First step would be adding a . to the regex here https://github.com/appnexus/pyrobuf/blob/master/pyrobuf/parse_proto.py#L23
.
Then would need to work out how to resolve the packages based on the field type strings.
Pyrobuf does not support package resolution when resolving type names.
When processing a line like:
the parser returns:
This looks like it could be an easyish fix.
First step would be adding a
.
to the regex here https://github.com/appnexus/pyrobuf/blob/master/pyrobuf/parse_proto.py#L23Then would need to work out how to resolve the packages based on the field type strings.