From: Nick Bowler Date: Sat, 1 Jul 2023 14:27:17 +0000 (-0400) Subject: Add missing errmsg.str source file. X-Git-Tag: v1.3~146 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/5f0979c1f526d68a18b536eab1a69de8f60b54a7 Add missing errmsg.str source file. Oops, forgot to commit this file. --- diff --git a/src/.gitignore b/src/.gitignore index e1f0478..3786172 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1,7 +1,7 @@ /*.stamp /cmdlist.h /commands.h -/errtab.h +/errmsg.h /execute.c /options.h /parse.[ch] diff --git a/src/errmsg.str b/src/errmsg.str new file mode 100644 index 0000000..60a6500 --- /dev/null +++ b/src/errmsg.str @@ -0,0 +1,22 @@ +@macro +&CDECL__ENOMEM failed to allocate memory +&CDECL__ETOOLONG too many long specifiers +&CDECL__EDUPTYPE duplicate type specifier +&CDECL__ENOTYPE no type specified +&CDECL__EBADTYPE invalid type specified +&CDECL__EBADVOID invalid declaration of type void +&CDECL__ETYPESTOR type names cannot have storage-class specifiers +&CDECL__EFUNCSTOR function parameters may only have register storage +&CDECL__EMANYSTOR too many storage-class specifiers +&CDECL__EBADQUAL only pointer types can be restrict-qualified +&CDECL__ENOTFUNC only function declarations can have function specifiers +&CDECL__EBADPARAM invalid function parameter +&CDECL__EMANYPAREN too many parentheses +&CDECL__EVOIDPARAM void parameter must stand alone +&CDECL__ERETFUNC functions cannot return functions +&CDECL__ERETARRAY functions cannot return array +&CDECL__EFUNCARRAY array members cannot be functions +&CDECL__ERESTRICTFUNC function pointers cannot be restrict-qualified +&CDECL__EDECLTYPE mixing type names and declarations is not allowed +&CDECL__ERANGE integer constant out of range +&CDECL__EBADINT invalid integer constant