Speaking of "return" (Was: [antlr-interest] "finally" blocks)
Terence Parr
parrt at cs.usfca.edu
Mon Jan 17 21:58:39 PST 2005
On Jan 17, 2005, at 8:07 PM, Paul J. Lucas wrote:
> On Mon, 17 Jan 2005, Bryan Ewbank wrote:
>
>> Another solution is to use functions - and that deals with the problem
>> of "return" in an action as well.
>
> Is one "allowed" to have "return" inside ANTLR productions?
No, but error handling could be implemented that way. :)
Ter
More information about the antlr-interest
mailing list