I am using the Objective C grammar available here, and trying to parse this code:
int main()
{
int k=0;
}
this is an objective c code and it should get parsed but it is giving me the following errors when i call the function translation_unit. errors are :
line 1:0 no viable alternative at character 'main'
line 1:0 no viable alternative at character '('
line 1:0 no viable alternative at character ')'