From: Charles Comstock Date: 2004-02-28T06:34:45+09:00 Subject: Re: [RACC] Multiple entry points? Carlos wrote: > Hi, > > imagine I have a parser like this: > > program: PROGRAM name '{' statements '}' { ... } > ; > > statements: statement { ... } > | statements statement { ... } > ; > > statement: ... > > and I want to parse a single statement. How I can tell the parser to > start at 'statement' and return? > > Thanks. > > I think, start statement will do that, though if statement includes a reference to statements obviously it will recurs. Charlie