コード例 #1
0
ファイル: TExecutor.cs プロジェクト: soshimozi/PascalCompiler
        protected void OnError(TRuntimeError error)
        {
            errorCount++;

            if (Error != null)
            {
                Error(this, new RuntimeErrorArgs() { RuntimeError = error, LineNumber = icode.CurrentLineNumber });
            }
        }
コード例 #2
0
 protected void OnRuntimeError(TRuntimeError error)
 {
     if (RuntimeError != null)
     {
         RuntimeError(this, new RuntimeErrorArgs() { RuntimeError = error });
     }
 }