aakash-sahai / nanopb

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

enum name missing when long_names=false option is used #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate code using the tests\options.proto sample file

What is the expected output? What do you see instead?
The enum type is generated incorrectly.  The name is missing:

/* Enum definitions */
typedef enum _ {
    EnumValue1 = 1
} ;

What version of the product are you using? On what operating system?
0.1.7 on Windows

Original issue reported on code.google.com by mf2...@gmail.com on 13 Nov 2012 at 10:08

GoogleCodeExporter commented 9 years ago
Indeed. Should have added a test case for this feature.

Original comment by Petteri.Aimonen on 13 Nov 2012 at 10:16

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

Update issue 43
Status: FixedInGit

Original comment by Petteri.Aimonen on 13 Nov 2012 at 10:36

GoogleCodeExporter commented 9 years ago
Fixed in 0.1.8

Original comment by Petteri.Aimonen on 13 Dec 2012 at 7:35