`Main.java`

    // FILE. . . . . /home/hak/ilt/src/ilog/rif/Main.java
    // EDIT BY . . . Hassan Ait-Kaci
    // ON MACHINE. . 4j4zn71
    // STARTED ON. . Fri Apr 04 03:33:29 2008

    package ilog.rif.bld;

This is a driver class implementing a java parser from the Jacc grammar specified in `BLD.grm`. It uses the tokenizer `Tokenizer.java`. (To use it, see e.g.: `bld`.)
Author: |  | Hassan Aït-Kaci
Copyright: |  | © 2006 ILOG, Inc.
Version: |  | Last modified on Mon May 05 19:45:59 2008 by hak

    import java.io.IOException;
    import ilog.language.util.Error;

    public class Main
    {
      static Parser parser;
      static boolean trace = false;

      static void setTrace (boolean flag)
        {
          trace = flag;
        }

      final public static void main (String args[])
        {
          try
            {
              parser = new Parser(new Tokenizer(args[0]));
            }
          catch (IOException e)
            {
              System.err.println("*** No such file: " + args[0]);
              System.exit(1);
            }

          try
            {
    	  parser.setTreeType("XML");
              parser.setQuiet(false);
              parser.setStartTime();
              parser.parse();
            }
          catch (IOException e)
            {
              parser.errorManager().reportError(new Error().setLabel("IO Error: ")
                                                .setMsg(e.getMessage()+" - giving up!")
                                                .setSee("..."));
              parser.errorManager().tallyErrors();
            }
          catch (Throwable e)
            {
    //  	  System.err.println("*** Sorry - something nasty happened! ...");
              parser.errorManager().tallyErrors();
    // 	  e.printStackTrace();
            }
        }
    }

This file was generated on Tue Oct 07 11:25:20 CEST 2008 from file `Main.java`
by the `ilog.language.tools.Hilite` Java tool written by Hassan Aït-Kaci