Exemplo n.º 1
0
 private void ParseAndExecute()
 {
     while (LinePointer.GetCurrentLine() < fileLineTokens.Count)
     {
         int line = LinePointer.GetCurrentLine();
         fileLineTokens[line - 1].ParseAndExecute();
         LinePointer.Increment();
     }
 }
Exemplo n.º 2
0
 public ILSException(string m) : base("Exception thrown on line " + LinePointer.GetCurrentLine() + ": " + m)
 {
 }
Exemplo n.º 3
0
 public static void LogErrorAndQuit(string errorMessage)
 {
     Console.WriteLine("Exception thrown on line " + LinePointer.GetCurrentLine() + ": " + errorMessage);
     Console.ReadKey();
     Environment.Exit(0);
 }