Added SystemExit.
This commit is contained in:
parent
a9df32ab2a
commit
768a3f0ab8
|
@ -46,6 +46,7 @@ extern object *OverflowError;
|
||||||
extern object *RuntimeError;
|
extern object *RuntimeError;
|
||||||
extern object *SyntaxError;
|
extern object *SyntaxError;
|
||||||
extern object *SystemError;
|
extern object *SystemError;
|
||||||
|
extern object *SystemExit;
|
||||||
extern object *TypeError;
|
extern object *TypeError;
|
||||||
extern object *ValueError;
|
extern object *ValueError;
|
||||||
extern object *ZeroDivisionError;
|
extern object *ZeroDivisionError;
|
||||||
|
|
|
@ -46,6 +46,7 @@ extern object *OverflowError;
|
||||||
extern object *RuntimeError;
|
extern object *RuntimeError;
|
||||||
extern object *SyntaxError;
|
extern object *SyntaxError;
|
||||||
extern object *SystemError;
|
extern object *SystemError;
|
||||||
|
extern object *SystemExit;
|
||||||
extern object *TypeError;
|
extern object *TypeError;
|
||||||
extern object *ValueError;
|
extern object *ValueError;
|
||||||
extern object *ZeroDivisionError;
|
extern object *ZeroDivisionError;
|
||||||
|
|
|
@ -615,6 +615,7 @@ object *OverflowError;
|
||||||
object *RuntimeError;
|
object *RuntimeError;
|
||||||
object *SyntaxError;
|
object *SyntaxError;
|
||||||
object *SystemError;
|
object *SystemError;
|
||||||
|
object *SystemExit;
|
||||||
object *TypeError;
|
object *TypeError;
|
||||||
object *ValueError;
|
object *ValueError;
|
||||||
object *ZeroDivisionError;
|
object *ZeroDivisionError;
|
||||||
|
@ -645,6 +646,7 @@ initerrors()
|
||||||
RuntimeError = newstdexception("RuntimeError");
|
RuntimeError = newstdexception("RuntimeError");
|
||||||
SyntaxError = newstdexception("SyntaxError");
|
SyntaxError = newstdexception("SyntaxError");
|
||||||
SystemError = newstdexception("SystemError");
|
SystemError = newstdexception("SystemError");
|
||||||
|
SystemExit = newstdexception("SystemExit");
|
||||||
TypeError = newstdexception("TypeError");
|
TypeError = newstdexception("TypeError");
|
||||||
ValueError = newstdexception("ValueError");
|
ValueError = newstdexception("ValueError");
|
||||||
ZeroDivisionError = newstdexception("ZeroDivisionError");
|
ZeroDivisionError = newstdexception("ZeroDivisionError");
|
||||||
|
|
Loading…
Reference in New Issue