aboutsummaryrefslogtreecommitdiff
path: root/consts.cpp
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-04 16:19:29 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-04 16:19:29 +0800
commit418f6ed5dd00e296b87b202a99753632fc593382 (patch)
tree7e372342b3fa116c7c695ac8f77c2b994dc1bd44 /consts.cpp
parent65f17438de5983ca010e10b4b24c5da65756a9b5 (diff)
added more error report
Diffstat (limited to 'consts.cpp')
-rw-r--r--consts.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/consts.cpp b/consts.cpp
index 894482e..c7058b0 100644
--- a/consts.cpp
+++ b/consts.cpp
@@ -3,6 +3,10 @@
const char *SYN_ERR_MSG[] = {
"\"%s\" is not an valid identifier",
"Cannot apply the operation \"%s\"",
- "An identifier is expected",
- "Unbound variable: \"%s\""
+ "Unbound variable: \"%s\"",
+ "Missing or extra expression in (%s)",
+ "Empty parameter list in (%s)",
+ "Wrong number of arguments to procedure (%s)",
+ "Illegal empty combination ()",
+ "Unexpected \")\""
};