mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
add test 10ddd to verify E_STRING values for calc computation error codes
Added tests to the calc regression test suite (cal/regress.cal) to verify that the errnum calc computation error codes and their E_STRING values have not changed.
This commit is contained in:
2
errtbl.c
2
errtbl.c
@@ -735,7 +735,7 @@ STATIC struct errtbl private_error_alias[] = {
|
||||
|
||||
/* The E__NONE entry below must start with E__NONE (0) and must be first!! */
|
||||
{ E__NONE, "E__NONE", "calc_errno cleared: libc errno codes above here" },
|
||||
{ E__BASE, "E__BASE", "calc errors start above here" },
|
||||
{ E__BASE, "E__BASE", "calc computation error codes start above here" },
|
||||
/* In the next E__HIGHEST entry, errnum and errmsg are changed when verify_error_table() is called */
|
||||
{ INV_ERRNUM, "E__HIGHEST", "replace this with the E__HIGHEST errmsg" },
|
||||
{ E__USERDEF, "E__USERDEF", "user defined error codes start here" },
|
||||
|
Reference in New Issue
Block a user