示例#1
0
 static ierrors()
 {
     ERROR_NAMES.Add("not error");
     ERROR_NAMES.AddRange(LEVEL1_ERROR_NAMES);
     ERROR_NAMES.AddRange(LEVEL2_ERROR_NAMES);
     ERROR_NAMES.AddRange(DPS_ERROR_NAMES);
 }
示例#2
0
 static ierrors()
 {
     ERROR_NAMES.Add("not error");
     ERROR_NAMES.AddRange(LEVEL1_ERROR_NAMES);
     ERROR_NAMES.AddRange(LEVEL2_ERROR_NAMES);
     ERROR_NAMES.AddRange(DPS_ERROR_NAMES);
     for (int i = ERROR_NAMES.Count; i <= -e_Info; i++)
     {
         ERROR_NAMES.Add(null);
     }
     ERROR_NAMES[-e_Fatal]              = "fatal";
     ERROR_NAMES[-e_Quit]               = "quit";
     ERROR_NAMES[-e_InterpreterExit]    = "interpreter exit";
     ERROR_NAMES[-e_RemapColor]         = "remap color";
     ERROR_NAMES[-e_ExecStackUnderflow] = "exec stack underflow";
     ERROR_NAMES[-e_VMreclaim]          = "VM reclaim";
     ERROR_NAMES[-e_NeedInput]          = "need input";
     ERROR_NAMES[-e_Info]               = "info";
 }