Generate #define tags for extension fields also.

Update issue 93
Status: FixedInGit
This commit is contained in:
Petteri Aimonen
2013-11-02 22:05:49 +02:00
parent 287207841d
commit dcdd7f98fd
2 changed files with 11 additions and 0 deletions

View File

@@ -46,5 +46,9 @@ int main(int argc, char **argv)
fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
return 1; /* Failure */
}
/* Check that the field tags are properly generated */
(void)AllTypes_extensionfield1_tag;
(void)ExtensionMessage_AllTypes_extensionfield2_tag;
}