aboutsummaryrefslogtreecommitdiff
path: root/consts.cpp
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-04 11:50:41 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-04 11:50:41 +0800
commit65f17438de5983ca010e10b4b24c5da65756a9b5 (patch)
treedfa88443d6cd10a14f587377f101e14359e98f56 /consts.cpp
parentd42c4bd97982c1252c5ad638a11aea5319c4be7f (diff)
added exception facilities
Diffstat (limited to 'consts.cpp')
-rw-r--r--consts.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/consts.cpp b/consts.cpp
new file mode 100644
index 0000000..894482e
--- /dev/null
+++ b/consts.cpp
@@ -0,0 +1,8 @@
+#include "consts.h"
+
+const char *SYN_ERR_MSG[] = {
+ "\"%s\" is not an valid identifier",
+ "Cannot apply the operation \"%s\"",
+ "An identifier is expected",
+ "Unbound variable: \"%s\""
+};