My program that needs to be parsed should be of the form:
program : [declaration]+
;
Which should mean: The program consists of one or more declarations. Declaration on its turn is of course defined in a similar way, and so on...
Currently, I'm getting an error on the + from the Bison parser. How do I define the one or more condition in a correct way with bison?