diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-04 16:19:29 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-04 16:19:29 +0800 |
commit | 418f6ed5dd00e296b87b202a99753632fc593382 (patch) | |
tree | 7e372342b3fa116c7c695ac8f77c2b994dc1bd44 /consts.cpp | |
parent | 65f17438de5983ca010e10b4b24c5da65756a9b5 (diff) |
added more error report
Diffstat (limited to 'consts.cpp')
-rw-r--r-- | consts.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 \")\"" }; |