|JCUP Termination firstname.lastname@example.org (Nitin Kumar Goel) (2000-12-18)|
|Re: JCUP Termination maratb@CS.Berkeley.EDU (Marat Boshernitsan) (2000-12-18)|
|From:||Nitin Kumar Goel <email@example.com>|
|Date:||18 Dec 2000 00:41:02 -0500|
|Organization:||University of Cambridge, England|
|Keywords:||Java, tools, question|
|Posted-Date:||18 Dec 2000 00:41:02 EST|
I am a student of Computer Science at the Univeristy of Cambridge, writing
a compiler for my final year project. I am having difficulty getting JCUP
(with a JLex Lexer) to terminate when reaching an EOF. Instead it throws a
Does anybody know why this might be, or knows precisely when JCUP's
parse() method returns? The documentation seems to suggest it returns when
the goal has been matched successfully, regardless of an EOF, but again
this does not appear to be the case.
Any help would be much appreciated.
Nitin Kumar Goel.
TEL: +44 (0)1223 477041
ADDR: Fitzwilliam College, Cambridge, CB3 0DG (UK)
Return to the
Search the comp.compilers archives again.