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.
This commit is contained in:
seyko
2015-03-23 08:27:16 +03:00
parent 367bb6f4b7
commit bd531ec1fd
4 changed files with 116 additions and 21 deletions

View File

@ -93,7 +93,8 @@ TESTS = \
71_macro_empty_arg.test \
72_long_long_constant.test \
73_arm64.test \
74_nocode_wanted.test
74_nocode_wanted.test \
75_array_in_struct_init.test
# 34_array_assignment.test -- array assignment is not in C standard