Add testcase for anonymous unions + few fixes.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sat, 14 Nov 2015 20:23:48 +0000 (22:23 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Sat, 14 Nov 2015 20:23:48 +0000 (22:23 +0200)
commitc1aa8aa980daea732c4683c2593d130d6bee7a79
treedf8ea9bb1f8fb765fc8a2ec1428447990c8a0808
parent9a8cc59703b227ff418cc55b4dc24f63eda64b62
Add testcase for anonymous unions + few fixes.

Fixes compilation error with anonymous unions when
it is not the last field in message. Also fixes
extraneous newlines in header file. Cleanup the
pb.h extraneous use of ##.
generator/nanopb_generator.py
pb.h
tests/anonymous_oneof/SConscript [new file with mode: 0644]
tests/anonymous_oneof/decode_oneof.c [new file with mode: 0644]
tests/anonymous_oneof/oneof.proto [new file with mode: 0644]