Finish() public method

public Finish ( ) : void
return void
Ejemplo n.º 1
0
/* main program */
public static void Main()
  {
  try
    {
    String[] args = Environment.GetCommandLineArgs();
    Io prog = new Io(args);
    Tok tok = new Tok(prog);
    Parse p = new Parse(prog, tok);
    p.program();
    prog.Finish();
    }
  catch (Exception e)
    {
    Console.WriteLine("Compiler aborting: "+e.ToString());
    }
  }
Ejemplo n.º 2
0
/* main program */
        public static void Main()
        {
            try
            {
                String[] args = Environment.GetCommandLineArgs();
                Io       prog = new Io(args);
                Tok      tok  = new Tok(prog);
                Parse    p    = new Parse(prog, tok);
                p.program();
                prog.Finish();
            }
            catch (Exception e)
            {
                Console.WriteLine("Compiler aborting: " + e.ToString());
            }
        }