Check-in Number:
|
1941 | |
Date: |
2002-Mar-04 14:12:23 (local)
2002-Mar-04 13:12:23 (UTC) |
User: | rse |
Branch: | |
Comment: |
fix error description handling |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/var/var.c 1.77 -> 1.78
--- var.c 2002/03/04 12:01:53 1.77
+++ var.c 2002/03/04 13:12:23 1.78
@@ -2419,8 +2419,6 @@
/* var_rc_t to string mapping table */
static const char *var_errors[] = {
"everything ok", /* VAR_OK = 0 */
- "undefined operation", /* VAR_ERR_UNDEFINED_OPERATION */
- "malformed operation argument list", /* VAR_ERR_MALFORMED_OPERATION_ARGUMENTS */
"incomplete named character", /* VAR_ERR_INCOMPLETE_NAMED_CHARACTER */
"incomplete hexadecimal value", /* VAR_ERR_INCOMPLETE_HEX */
"invalid hexadecimal value", /* VAR_ERR_INVALID_HEX */
@@ -2462,7 +2460,9 @@
"bracket expression in array variable's index not closed", /* VAR_ERR_UNCLOSED_BRACKET_IN_INDEX */
"division by zero error in index specification", /* VAR_ERR_DIVISION_BY_ZERO_IN_INDEX */
"unterminated loop construct", /* VAR_ERR_UNTERMINATED_LOOP_CONSTRUCT */
- "invalid character in loop limits" /* VAR_ERR_INVALID_CHAR_IN_LOOP_LIMITS */
+ "invalid character in loop limits", /* VAR_ERR_INVALID_CHAR_IN_LOOP_LIMITS */
+ "malformed operation argument list", /* VAR_ERR_MALFORMED_OPERATION_ARGUMENTS */
+ "undefined operation" /* VAR_ERR_UNDEFINED_OPERATION */
};
/* transslate a return code into its corresponding descriptive text */
|
|