Hi Jorge, There are many little things that can go wrong (end of line characters, end of file characters added by OSX editors, etc.). Could you really try running the grammar, program, and test files I attached to my last message and report whether you still get an error or not with them (specially the test.txt file). Thanks, Etienne PS: Please do not add me as recipient to your replies; I already get your replies throught the mailing list. I won't reply faster if I get multiple copies of your emails. ;-) Jorge Mario G. Mazo wrote: > hi there > here is what I get > it's sablecc 3.1 running on OSX tiger > thanks in advance > ----------- > tiger:~/Desktop/sablecc-3.1/bin jorge$ cat example.txt > if work then happy end > > tiger:~/Desktop/sablecc-3.1/bin jorge$ java Main example.txt > org.sablecc.baba.parser.ParserException: [1,1] expecting: EOF ... -- Etienne M. Gagnon, Ph.D. http://www.info2.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/
Attachment:
signature.asc
Description: OpenPGP digital signature