Closed robbym closed 4 years ago
Thanks.
Two grammar bits seem to be not working properly:
Thanks.
Two grammar bits seem to be not working properly:
* typedef is not recognized as type name * designators
Are those two grammar issues related to the compound literals issue? Or are you referring to https://github.com/vickenty/lang-c/issues/23?
I was referring to this issue. In a test I did, (test_t) {..
didn't parse just as you reported, but (struct test_t) {...
seemed to progress further and fail on the designator. I didn't see your PR yet when I wrote that, and I still need to go through it.
Compound literals do not seem to work.
Test preprocessed C file:
Error: