/* * Common messages catalogue. * * It could be extended by defining additional types, usages and entries. * * $TenDRA: tendra/src/libten/catstd.cat,v 1.3 2004/09/05 03:38:39 bp Exp $ */ /* * AUTOMATICALLY GENERATED BY mkerr.awk FROM /mnt/gmirror/ports/lang/TenDRA/work/tendra/src/libten/catstd.cat * AUTOMATICALLY GENERATED BY mkerr.awk FROM /mnt/gmirror/ports/lang/TenDRA/work/tendra/src/tools/pl/messages.cat */ #include #include "catstd.h" /* Error catalogue */ MSG_CONST char *MSG_NAME = "messages"; MSG_DATA MSG_CATALOG [] = { { "_prefix_info", NULL, 0, 0, "Info" }, { "_prefix_debug", NULL, 0, 0, "Debug" }, { "_prefix_warning", NULL, 0, 0, "Warning" }, { "_prefix_error", NULL, 0, 0, "Error" }, { "_prefix_fatal", NULL, 0, 0, "Fatal error" }, { "_prefix_internal", NULL, 0, 0, "Internal error" }, { "_prefix_assert", NULL, 0, 0, "Assertion failed" }, { "fmm_malloc_failed", "3", MSG_SEV_FATAL, 0, "Memory allocation of %0 byte(s) failed." }, { "fmm_frt_still_allocated", "35", MSG_SEV_DEBUG, 0, "fmm_remove_type: %0 bytes of '%1' still allocated" }, { "fmm_data_modified", "952288", MSG_SEV_DEBUG, 0, "fmm_malloc: Data modified on freelist: object %0(%1)[%2] size %3 (%4 != %5)" }, { "fmm_wrong_bucket", NULL, MSG_SEV_FATAL, 0, "fmm_malloc: wrong bucket" }, { "fmm_lost_data", NULL, MSG_SEV_FATAL, 0, "fmm_malloc: lost data" }, { "fmm_free_modified", "9", MSG_SEV_FATAL, 0, "fmm_free: free item %0 modified" }, { "fmm_multiple_free", "9", MSG_SEV_FATAL, 0, "fmm_free: multiple freed item %0" }, { "caught_signal", "05", MSG_SEV_NONE, 0, "\nCaught signal %0 in '%1'" }, { "removed_core", NULL, MSG_SEV_WARNING, 0, "Removed core" }, { "tenapp_version", "555", MSG_SEV_NONE, 0, "%0, Version: %1 (Release: %2)" }, { "crown_copyright", NULL, MSG_SEV_INFO, 0, "\t\tCrown Copyright (c) 1997, 1998\n\n This TenDRA(r) Computer Program is subject to Copyright\n owned by the United Kingdom Secretary of State for Defence\n acting through the Defence Evaluation and Research Agency\n (DERA). It is made available to Recipients with a\n royalty-free licence for its use, reproduction, transfer\n to other parties and amendment for any purpose not excluding\n product development provided that any such use et cetera\n shall be deemed to be acceptance of the following conditions:\n\n\t(1) Its Recipients shall ensure that this Notice is\n\treproduced upon any copies or amended versions of it;\n\n\t(2) Any amended version of it shall be clearly marked to\n\tshow both the nature of and the organisation responsible\n\tfor the relevant amendment or amendments;\n\n\t(3) Its onward transfer from a recipient to another\n\tparty shall be deemed to be that party's acceptance of\n\tthese conditions;\n\n\t(4) DERA gives no warranty or assurance as to its\n\tquality or suitability for any purpose and DERA accepts\n\tno liability whatsoever in relation to any use to which\n\tit may be put.\n\n" }, { "cant_open_input_file", "5", MSG_SEV_ERROR, 1, "Can't open input file, '%0': %a" }, { "cant_open_output_file", "5", MSG_SEV_FATAL, 0, "Can't open output file, '%0': %a" }, { "file_read_error", "5", MSG_SEV_FATAL, 0, "error reading from file '%0': %a" }, { "file_write_error", "5", MSG_SEV_FATAL, 0, "error writing to file '%0': %a" }, { "ostream_write_error", "5", MSG_SEV_FATAL, 0, "error writing to output stream '%0': %a" }, { "getopt_unknown_option", "5", MSG_SEV_FATAL, 0, "Unknown option, '%0'" }, { "getopt_not_enough_arguments", NULL, MSG_SEV_FATAL, 0, "Not enough arguments" }, { "getopt_too_many_arguments", NULL, MSG_SEV_FATAL, 0, "Too many arguments" }, { "arg_parse_missing_argument", "5", MSG_SEV_FATAL, 0, "missing argument for option '%0'" }, { "arg_parse_unknown_option", "5", MSG_SEV_FATAL, 0, "unknown option '%0'" }, { "arg_parse_missing_short_arg", "55", MSG_SEV_FATAL, 0, "missing argument for option '%0' at '%1'" }, { "arg_parse_ambiguous_option", "5", MSG_SEV_FATAL, 0, "ambiguous option '%0'" }, { "arg_parse_unknown_short_opt", "55", MSG_SEV_FATAL, 0, "unknown short option '%0' at '%1'" }, { "description_of_help", NULL, MSG_SEV_NONE, 0, "Print this message" }, { "description_of_version", NULL, MSG_SEV_NONE, 0, "Report program version" }, { "fatal_tdf_stream_read_error", "B", MSG_SEV_FATAL, 0, "%0System error '%a' while reading TDF file" }, { "fatal_tdf_stream_seek_error", "B", MSG_SEV_FATAL, 0, "%0Seek error" }, { "fatal_tdf_cant_encode_0_as_extended_value", "B", MSG_SEV_FATAL, 0, "%0Can't encode 0 as an extended value" }, { "fatal_tdf_integer_too_big", "B2", MSG_SEV_FATAL, 0, "%0TDFINT value too big (%1)" }, { "tdf_integer_too_long", "B2", MSG_SEV_FATAL, 0, "%0TDFINT value too long (%1)" }, { "fatal_tdf_string_element_too_big", "B0", MSG_SEV_FATAL, 0, "%0TDFSTRING element too big (%1)" }, { "fatal_tdf_expect_eof", "B", MSG_SEV_FATAL, 0, "%0End of file expected, but data found" }, { "fatal_tdf_unexpected_eof", "B", MSG_SEV_FATAL, 0, "%0Unexpected end of file" }, { "fatal_tdf_bad_magic", "B55", MSG_SEV_FATAL, 0, "%0Unknown TDF file header. Expected '%2', but got '%1'" }, { "fatal_tdf_bad_version", "B1", MSG_SEV_FATAL, 0, "%0Illegal major version number '%1'" }, { "fatal_tdf_version_mismatch", "B11", MSG_SEV_FATAL, 0, "%0Major version number mismatch: (%1 should be %2)" }, { "int_tdf_extend_unaligned", "B2", MSG_SEV_INTERNAL, 0, "%0Extending unaligned stream at %1" }, { "int_tdf_unaligned_access", "B5", MSG_SEV_INTERNAL, 0, "%0Function %1 requires byte aligned TDF stream" }, { "debug_tdf_version", "B11", MSG_SEV_DEBUG, 0, "%0TDF version: %1.%2" }, { "al_tag_defined_twice", "5", MSG_SEV_FATAL, 0, "Al_tag %0 defined twice" }, { "bad_sn_value", "1", MSG_SEV_FATAL, 0, "Bad %SN value, %0" }, { "cant_open_include", "5", MSG_SEV_FATAL, 0, "Can't open include file '%0'" }, { "default_jump", NULL, MSG_SEV_FATAL, 0, "This conditional uses a default jump" }, { "dont_know_shape", "5", MSG_SEV_FATAL, 0, "Don't know shape of %0" }, { "dont_know_unit_type", NULL, MSG_SEV_FATAL, 0, "Don't know unit type" }, { "dont_understand_test", NULL, MSG_SEV_FATAL, 0, "Don't understand test" }, { "field_name_unique", "5", MSG_SEV_FATAL, 0, "Field name %0 must be unique" }, { "ident_already_declared", "5", MSG_SEV_FATAL, 0, "Ident %0 already delcared" }, { "ident_not_declared", "5", MSG_SEV_FATAL, 0, "Ident %0 not declared" }, { "label_not_declared", "5", MSG_SEV_FATAL, 0, "Label %0 not declared" }, { "label_not_delcared", "5", MSG_SEV_FATAL, 0, "Label %0 not delcared" }, { "label_set_twice", "5", MSG_SEV_FATAL, 0, "Label %0 set twice" }, { "memory_alloc_error", NULL, MSG_SEV_FATAL, 0, "Memory allocation error" }, { "no_declaration_shape", "5", MSG_SEV_FATAL, 0, "No declaration shape for %0" }, { "not_a_comparison", "5", MSG_SEV_FATAL, 0, "%0 is not a comparison" }, { "not_a_logop", "5", MSG_SEV_FATAL, 0, "%0 not a logop" }, { "not_a_tag", "5", MSG_SEV_FATAL, 0, "%0 is not a tag" }, { "not_an_addrop", "5", MSG_SEV_FATAL, 0, "%0 not an addrop" }, { "not_an_arithop", "5", MSG_SEV_FATAL, 0, "%0 not an arithop" }, { "not_first_class_sort", NULL, MSG_SEV_FATAL, 0, "Not a 1st class SORT" }, { "not_legal_sort", NULL, MSG_SEV_FATAL, 0, "Not a legal sort" }, { "not_sort_internal_error", NULL, MSG_SEV_FATAL, 0, "Not a sort - internal error" }, { "only_plus_or_minus", NULL, MSG_SEV_FATAL, 0, "Only + or - on NATs" }, { "shouldnt_happen", NULL, MSG_SEV_FATAL, 0, "This shouldn't happen" }, { "sort_error", "11", MSG_SEV_FATAL, 0, "Sort error: req = %0, curr= %1" }, { "sort_list_error", "11", MSG_SEV_FATAL, 0, "Sort/list error: req = %0, curr= %1" }, { "struct_unique", "5", MSG_SEV_FATAL, 0, "Struct name %0 must be unique" }, { "syntax_error_noparam", NULL, MSG_SEV_FATAL, 0, "Syntax error" }, { "syntax_error", "5", MSG_SEV_FATAL, 0, "Syntax error %0" }, { "tag_declared_as_variable", "5", MSG_SEV_FATAL, 0, "Tag %0 declared as variable" }, { "tag_declared_non_variable", "5", MSG_SEV_FATAL, 0, "Tag %0 delcared as non-variable" }, { "tag_declared_twice", "5", MSG_SEV_FATAL, 0, "Tag %0 declared twice" }, { "tag_defined_twice", "5", MSG_SEV_FATAL, 0, "Tag %0 defined twice" }, { "token_declared_twice", "5", MSG_SEV_FATAL, 0, "Token %0 declared twice" }, { "token_defined_twice", "5", MSG_SEV_FATAL, 0, "Token %0 defined twice" }, { "token_parameter_name_unique", "5", MSG_SEV_FATAL, 0, "Token parameter name %0 must be unique" }, { "token_pars_require_parameter", NULL, MSG_SEV_FATAL, 0, "Only token pars require result and parameter sorts" }, { "token_pars_req", NULL, MSG_SEV_FATAL, 0, "Token pars require result and parameter sorts" }, { "two_declaration_shapes", "5", MSG_SEV_FATAL, 0, "Two declaration shapes for %0" }, { "unmatched_quote", NULL, MSG_SEV_FATAL, 0, "Unmatched quote" }, { "assertion_failed", "5", MSG_SEV_FATAL, 0, "Assertion %0 failed" }, { "usage", NULL, MSG_SEV_NONE, 0, "Usage: pl [options] input output \nwhere options are:" }, { "description_of_diag", NULL, MSG_SEV_NONE, 0, "This option described elsewhere." }, { "description_of_include", NULL, MSG_SEV_NONE, 0, "DIRECTORY Add DIRECTORY to the includes search path." }, { NULL, NULL, 0, 0, NULL } };