Hi
How do I specify a null production in a Nonterminal? For example :
'OpenBracket'
"ArgList"
'CloseBracket'
| 'OpenBracket'
'CloseBracket'
|
|
Note the empty | - if I use this then I get an error indicating I cannot have a null production. This sort of thing comes up a lot in languages like VBScript
Regards
Vincent.
How do I specify a null production in a Nonterminal? For example :
'OpenBracket'
"ArgList"
'CloseBracket'
| 'OpenBracket'
'CloseBracket'
|
|
Note the empty | - if I use this then I get an error indicating I cannot have a null production. This sort of thing comes up a lot in languages like VBScript
Regards
Vincent.