Java 1.4 compliant JLex

"Joel Jones" <>
26 Nov 2002 22:16:55 -0500

          From comp.compilers

Related articles
Java 1.4 compliant JLex (Joel Jones) (2002-11-26)
| List of all articles for this month |

From: "Joel Jones" <>
Newsgroups: comp.compilers
Date: 26 Nov 2002 22:16:55 -0500
Organization: Compilers Central
Keywords: Java, lex, available
Posted-Date: 26 Nov 2002 22:16:55 EST

I have modified the lexing tool JLex, to compile correctly under Java
1.4. The JLex tool was developed by Elliot Berk at Princeton
University. It is now maintained by C. Scott Ananian. The home page
for JLex is at:

I have placed my modifications at:

This was an incredibly simple change---a global rename of the function
assert to assertTrue---but the error messages without the changes
caused my students a bit of consternation.

I hope I haven't stepped on any one's toes here, but my attempts to
reach the maintainers did not succeed.

Joel Jones

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.