aboutsummaryrefslogtreecommitdiff
path: root/consts.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-09 23:50:42 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-09 23:50:42 +0800
commit80e885a9847c9bce1be8cccafc85ea39cbc120e2 (patch)
tree5976ed008996012f23d1eeb8765a8a859e62f64c /consts.h
parent1985734990b5c5ab3fd50277bff854ea3cd92b2c (diff)
numerical overflow detection
Diffstat (limited to 'consts.h')
-rw-r--r--consts.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/consts.h b/consts.h
index 4a7c900..7e5de8d 100644
--- a/consts.h
+++ b/consts.h
@@ -18,7 +18,8 @@ enum ErrCode {
PAR_ERR_IMPROPER_VECT,
SYN_ERR_BAD_FORMAL,
RUN_ERR_QUEUE_OVERFLOW,
- RUN_ERR_STACK_OVERFLOW
+ RUN_ERR_STACK_OVERFLOW,
+ RUN_ERR_NUMERIC_OVERFLOW
};
extern const char *ERR_MSG[];