mirror of
https://github.com/louisrubet/rpn
synced 2025-01-29 20:34:21 +01:00
#146: the new ret_value is added after other enums to keep the numeric compatibility
This commit is contained in:
parent
d1ce5346d9
commit
971f129e57
1 changed files with 2 additions and 2 deletions
|
@ -55,18 +55,18 @@ typedef enum {
|
|||
ret_internal,
|
||||
ret_deadly,
|
||||
ret_good_bye,
|
||||
ret_abort_current_entry,
|
||||
ret_not_impl,
|
||||
ret_nop,
|
||||
ret_syntax,
|
||||
ret_div_by_zero,
|
||||
ret_runtime_error,
|
||||
ret_abort_current_entry,
|
||||
ret_max
|
||||
} ret_value;
|
||||
|
||||
#define RET_VALUE_STRINGS { \
|
||||
"ok", "unknown command", "missing operand", "bad operand type", "out of range", "unknown variable", "internal error, aborting", \
|
||||
"deadly", "goodbye", "aborted current entry", "not implemented", "no operation", "syntax error", "division by zero", "runtime error" \
|
||||
"deadly", "goodbye", "not implemented", "no operation", "syntax error", "division by zero", "runtime error", "aborted current entry" \
|
||||
}
|
||||
|
||||
// command types
|
||||
|
|
Loading…
Add table
Reference in a new issue