shmuel siegel schreef: > Hendrik Maryns wrote: >> Hi, >> >> I have a rule like follows: >> >> formulaList : ( WHITESPACE? formula WHITESPACE? )* EOF ; >> >> > Your rule is intrinsically ambiguous since a white space can be before > the second formula or after the first formula. The following should work > (haven't tried it) > > > formulaList : WHITESPACE? ( formula WHITESPACE? )* EOF ;
Duh! Of course. Thanks, H. -- Hendrik Maryns http://tcl.sfs.uni-tuebingen.de/~hendrik/ ================== Ask smart questions, get good answers: http://www.catb.org/~esr/faqs/smart-questions.html
signature.asc
Description: OpenPGP digital signature
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address
