I have a fragment of grammar in Yacc notation:
stylesheet
: [ CHARSET_SYM STRING ';' ]?
[S|CDO|CDC]* [ import [ CDO S* | CDC S* ]* ]*
[ [ ruleset | media | page ] [ CDO S* | CDC S* ]* ]*
;
How do I implement this fragment in Irony? I can't find any equivalent of ?
, which means 0 or 1 occurrence in Yacc.