A right fix for the array in struct initialization w/o '{'
commitbd531ec1fde7d47f71c8d68c44ba3f79ae148564
authorseyko <seyko2@gmail.com>
Mon, 23 Mar 2015 05:27:16 +0000 (23 08:27 +0300)
committerseyko <seyko2@gmail.com>
Mon, 23 Mar 2015 05:27:16 +0000 (23 08:27 +0300)
tree5760b7b7c699e31ce431cbb187877e1913673a2d
parent367bb6f4b78e4bf0cc6d89a6baf6ce1a5ef3a239
A right fix for the array in struct initialization w/o '{'
Parse a type if there is only one '(' before a type token.
Otherwise a recursion will perform a job.
tccgen.c
tests/tests2/75_array_in_struct_init.c [new file with mode: 0644]
tests/tests2/75_array_in_struct_init.expect [new file with mode: 0644]
tests/tests2/Makefile