Fix generator bug when oneof is first field in a message.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Tue, 27 Jan 2015 15:47:25 +0000 (17:47 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Tue, 27 Jan 2015 15:47:25 +0000 (17:47 +0200)
commit25b92c5b4e154130bf0787009046ea60175d28e8
tree6f562ae78961010f61d936f805deb14df690c0c1
parent5aa8207ab1acf3b614b528b3d84e60d9266d35ae
Fix generator bug when oneof is first field in a message.

Added test case for the same.

Update issue 142
Status: FixedInGit
generator/nanopb_generator.py
tests/oneof/decode_oneof.c
tests/oneof/oneof.proto