iamandi / nanopb

Automatically exported from code.google.com/p/nanopb
zlib License
0 stars 0 forks source link

Wrong identifier name for extension fields #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Disable all fields using option * type:FT_IGNORE
2. Enable an extension field using Msg.field type:FT_STATIC
3. The pb_extension_type structure is not generated.

See here for original report:
https://groups.google.com/forum/#!topic/nanopb/WSgOHi94k_I

Bug is probably on line 648 in nanopb_generator.py, which uses wrong identifier 
when looking up the options.

Original issue reported on code.google.com by Petteri.Aimonen on 17 Jul 2014 at 12:26

GoogleCodeExporter commented 9 years ago
This issue was updated by revision f2f9f8a9ed2f.

Original comment by Petteri.Aimonen on 20 Jul 2014 at 11:57

GoogleCodeExporter commented 9 years ago
Fix released in nanopb 0.2.9.

Original comment by Petteri.Aimonen on 9 Aug 2014 at 7:28