[antlr-interest] Re: Predicate question

Mark markl at glyphic.com
Mon May 3 18:54:37 PDT 2004


--- In antlr-interest at yahoogroups.com, "Brad Schick" <schick at r...> wrote:
> It wouldn't handle:
> 
> func {
> ...
> stmnt       <-nothing to grab this newline
> }
> 
> It also won't handle several blank (newline terminated) lines in a 
> row because empty won't consume newlines. 

Actually, it will handle both of these.  This is the reason that a statement is allowed to be 
empty.  So, two newlines in a row are matched by (newline statement)* where statment 
matches empty.

  - Mark




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list