[antlr-interest] Newlines (yet again)

Paul J. Lucas pauljlucas at mac.com
Tue Jan 18 11:24:11 PST 2005


On Tue, 18 Jan 2005, Paul J. Lucas wrote:

> 	Yes, and typically it's the '.' in the very same rule as in:
> 
> 		"//"
> 		    ( options { greedy = false; }
> 		    : '\n' { newline(); }
> 		    | '.'
> 		    )
> 		;

	I forgot the '*' as in:

		    )*

	- Paul



More information about the antlr-interest mailing list