From 80e885a9847c9bce1be8cccafc85ea39cbc120e2 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 9 Aug 2013 23:50:42 +0800 Subject: numerical overflow detection --- consts.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'consts.h') 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[]; -- cgit v1.2.3