![Avatar](https://secure.gravatar.com/avatar/537d208f522e2d50f727370037b3a75f.jpg?s=64&d=identicon&r=g)
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.