voking the parser with the JLex scanner is then simply:
<pre>parser parser_obj = new parser( new Yylex( some_InputStream_or_Reader));
</pre>

<p>
Note that you still have to handle EOF correctly; the JLex code to do
so is something like:
</p><pre>%eofval{
  return sym.EOF;
%eofval}
</pre>
where <code>sym</code> is the name of the symbol class for your
generated parser.<p>

The simple_calc example in the CUP distribution illustrates the use of
the scanner integration features with a hand-coded scanner.</p>

