/* * 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/tcc/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" }, { "error_when_stepping_over", "5", MSG_SEV_ERROR, 0, "Error when stepping over '%0'" }, { "cant_open_copy_destination_file", "5", MSG_SEV_ERROR, 0, "Can't open copy destination file, '%0'" }, { "reading_error_when_creating", "5", MSG_SEV_ERROR, 0, "Reading error when creating '%0'" }, { "writing_error_when_creating", "5", MSG_SEV_ERROR, 0, "Writing error when creating '%0'" }, { "cant_open_copy_source_file", "5", MSG_SEV_ERROR, 0, "Can't open copy source file, '%0'" }, { "writing_error_when_copying", "5", MSG_SEV_ERROR, 0, "Writing error when copying '%0'" }, { "built_in_mkdir_function_not_implemented", NULL, MSG_SEV_INTERNAL, 0, "Built-in mkdir function not implemented" }, { "cant_rename_file", "55", MSG_SEV_ERROR, 0, "Can't rename '%0' to '%1'" }, { "cant_remove_source_file", "5", MSG_SEV_ERROR, 0, "Can't remove source file, '%0'" }, { "cant_remove_file", "5", MSG_SEV_ERROR, 0, "Can't remove '%0'" }, { "built_in_remove_function_not_implemented", NULL, MSG_SEV_INTERNAL, 0, "Built-in remove function not implemented" }, { "cant_touch_file", "5", MSG_SEV_ERROR, 0, "Can't touch file, '%0'" }, { "cant_access_file", "5", MSG_SEV_ERROR, 0, "Can't access file '%0'" }, { "unknown_archiver_option", "5", MSG_SEV_WARNING, 0, "Unknown archiver option, '%0'" }, { "cant_open_input_archive", "5", MSG_SEV_ERROR, 0, "Can't open input archive, '%0'" }, { "illegal_input_archive", "5", MSG_SEV_ERROR, 0, "Illegal input archive, '%0'" }, { "premature_end_of_archive", "5", MSG_SEV_ERROR, 0, "Premature end of archive '%0'" }, { "illegal_file_length_specifier_in_archive", "5", MSG_SEV_ERROR, 0, "Illegal file length specifier in archive '%0'" }, { "illegal_file_continuation_in_archive", "5", MSG_SEV_ERROR, 0, "Illegal file continuation in archive '%0'" }, { "illegal_link_information_in_archive", "5", MSG_SEV_ERROR, 0, "Illegal link information in archive '%0'" }, { "illegal_file_description_in_archive", "5", MSG_SEV_ERROR, 0, "Illegal file description in archive '%0'" }, { "cant_open_output_archive", "5", MSG_SEV_ERROR, 0, "Can't open output archive, '%0'" }, { "cant_open_for_archiving", "5", MSG_SEV_ERROR, 0, "Can't open '%0' for archiving" }, { "read_error_in_archive", "5", MSG_SEV_ERROR, 0, "Read error in archive '%0'" }, { "write_error_in_archive", "5", MSG_SEV_ERROR, 0, "Write error in archive '%0'" }, { "date_stamp_on_file_has_changed", "5", MSG_SEV_WARNING, 0, "Date stamp on file '%0' has changed" }, { "is_a_C_spec_file", "5", MSG_SEV_WARNING, 0, "'%0' is a C spec file" }, { "is_a_cpp_spec_file", "5", MSG_SEV_WARNING, 0, "'%0' is a C++ spec file" }, { "TDF_file_not_recognised_in_cc_mode", "5", MSG_SEV_WARNING, 0, "TDF file '%0' not recognised in cc mode" }, { "is_a_cpp_source_file", "5", MSG_SEV_WARNING, 0, "'%0' is a C++ source file" }, { "is_a_preprocessed_cpp_source_file", "5", MSG_SEV_WARNING, 0, "'%0' is a preprocessed C++ source file" }, { "is_a_tdf_notation_source_file", "5", MSG_SEV_WARNING, 0, "'%0' is a TDF notation source file" }, { "is_a_pl_tdf_source_file", "5", MSG_SEV_WARNING, 0, "'%0' is a PL_TDF source file" }, { "is_a_tdf_archive", "5", MSG_SEV_WARNING, 0, "'%0' is a TDF archive" }, { "environment_path_is", "5", MSG_SEV_INFO, 0, "Environment path is '%0'" }, { "exceeded_max_line_size", "51", MSG_SEV_FATAL, 0, "%0: line %1: Exceeded maximum line size" }, { "no_value_assigned_to_key", "515", MSG_SEV_WARNING, 0, "%0: line %1: No value assigned to key %2" }, { "value_assigned_to_key_must_be_quoted", "515", MSG_SEV_WARNING, 0, "%0: line %1: Value assigned to key %2 must be quoted" }, { "unmatched_escape_sequence_missing_ra", "51", MSG_SEV_FATAL, 0, "%0: line %1: Unmatched escape sequence, missing >" }, { "nested_la_ra_escape_sequences_prohibited", "51", MSG_SEV_FATAL, 0, "%0: line %1: Nested < > escape sequences prohibited" }, { "value_assigned_to_key_not_terminated_with_end_quote", "515", MSG_SEV_WARNING, 0, "%0: line %1: Value assigned to key %2 not terminated with end quote" }, { "undefined_variable_in_file", "551", MSG_SEV_FATAL, 0, "%1: line %2: Undefined variable '%0'" }, { "not_invoked_with_any_Yenv_arguments", NULL, MSG_SEV_WARNING, 0, "not invoked with any -Y env arguments" }, { "failed_to_load_any_environment_files", NULL, MSG_SEV_WARNING, 0, "failed to load any environment files" }, { "environment_option_declared_but_never_used", "515", MSG_SEV_WARNING, 0, "%0 line %1: environment option %2 declared but never used" }, { "cant_find_environment", "5", MSG_SEV_WARNING, 0, "Can't find environment, '%0'" }, { "empty_command", NULL, MSG_SEV_INTERNAL, 0, "Empty command" }, { "tool_is_not_available_w", "5", MSG_SEV_WARNING, 0, "The tool '%0' is not available" }, { "tool_is_not_available_i", "5", MSG_SEV_INTERNAL, 0, "The tool '%0' is not available" }, { "built_in_command_not_implemented", "5", MSG_SEV_ERROR, 0, "Built-in '%0' command not implemented" }, { "cant_fork_process", NULL, MSG_SEV_ERROR, 0, "Can't fork process" }, { "cant_execute", "5", MSG_SEV_ERROR, 0, "Can't execute '%0'" }, { "error_in", "5", MSG_SEV_INFO, 0, "Error in '%0'" }, { "cant_determine_current_working_directory", NULL, MSG_SEV_WARNING, 0, "Can't determine current working directory" }, { "unknown_file_type", "4", MSG_SEV_WARNING, 0, "Unknown file type, '%0'" }, { "illegal_file_type", NULL, MSG_SEV_ERROR, 0, "Illegal file type" }, { "can_only_name_one_file_with_o", NULL, MSG_SEV_WARNING, 0, "Can only name one file with '-o'" }, { "illegal_storage_type", NULL, MSG_SEV_INTERNAL, 0, "Illegal storage type" }, { "illegal_stop_option", NULL, MSG_SEV_WARNING, 0, "Illegal stop option" }, { "more_than_one_stop_option_given", NULL, MSG_SEV_WARNING, 0, "More than one stop option given" }, { "using_the_system_C_compiler", NULL, MSG_SEV_WARNING, 0, "Using the system C compiler" }, { "cant_build_tdf_archive_in_mode", "5", MSG_SEV_WARNING, 0, "Can't build TDF archive in %0 mode" }, { "cant_build_tdf_complex_in_mode", "5", MSG_SEV_WARNING, 0, "Can't build TDF complex in %0 mode" }, { "cant_pretty_print_tdf_in_mode", "5", MSG_SEV_WARNING, 0, "Can't pretty print TDF in %0 mode" }, { "api_is", "5", MSG_SEV_INFO, 0, "API is %0" }, { "tcc_version", "5555", MSG_SEV_NONE, 0, "%0%1, Machine: %2, Release: %3" }, { "cant_create_temporary_directory", NULL, MSG_SEV_FATAL, 0, "Can't create temporary directory" }, { "no_input_files_specified", NULL, MSG_SEV_FATAL, 0, "No input files specified" }, { "input_file_not_processed", "5", MSG_SEV_WARNING, 0, "Input file '%0' not processed" }, { "unknown_special_option", "5", MSG_SEV_WARNING, 0, "Unknown special option, '%0'" }, { "unknown_boolean_identifier", "44", MSG_SEV_ERROR, 0, "Unknown boolean identifier, '%0%1'" }, { "unknown_compilation_stage", "4", MSG_SEV_ERROR, 0, "Unknown compilation stage, '%0'" }, { "unknown_list_identifier", "44", MSG_SEV_ERROR, 0, "Unknown list identifier, '%0%1'" }, { "unknown_output_file_specifier", "4", MSG_SEV_ERROR, 0, "Unknown output file specifier, '%0'" }, { "unknown_string_identifier", "44", MSG_SEV_ERROR, 0, "Unknown string identifier, '%0%1'" }, { "unknown_procedure_identifier", "44", MSG_SEV_ERROR, 0, "Unknown procedure identifier, '%0%1'" }, { "interpreting", "5", MSG_SEV_ERROR, 0, "Interpreting '%0'" }, { "interpret_cmd", "5", MSG_SEV_ERROR, 0, "interpret_cmd: %0: %a" }, { "ignoring_non_standard_env_assignment", "55", MSG_SEV_WARNING, 0, "Ignoring non-standard env assignment: %0=%1" }, { "list_of_recognised_options", NULL, MSG_SEV_INFO, 0, "List of recognised options" }, { "X_error", "5", MSG_SEV_WARNING, 0, "%0" }, { "syntax_error", "5", MSG_SEV_ERROR, 0, "Syntax error, '%0'" }, { "illegal_input", "5", MSG_SEV_ERROR, 0, "Illegal input '%0'" }, { "illegal_option", "5", MSG_SEV_ERROR, 0, "Illegal option '%0'" }, { "too_many_components", "5", MSG_SEV_ERROR, 0, "Too many components, '%0'" }, { "cant_interpret", "5", MSG_SEV_ERROR, 0, "Can't interpret '%0'" }, { "option_is_incomplete", "5", MSG_SEV_WARNING, 0, "Option '%0' is incomplete" }, { "renaming_to_avoid_clash_with_input", "555", MSG_SEV_WARNING, 0, "Renaming %0 '%1' to '%2' to avoid clash with input" }, { "cant_open_startup_file", "5", MSG_SEV_ERROR, 0, "Can't open startup file, '%0'" }, { "cant_open_endup_file", "5", MSG_SEV_ERROR, 0, "Can't open endup file, '%0'" }, { "cant_open_token_definition_file", "5", MSG_SEV_ERROR, 0, "Can't open token definition file, '%0'" }, { "attempt_to_update_hashtable_with_invalid_key", "5", MSG_SEV_FATAL, 0, "Attempt to update hashtable with invalid key %0" }, { "hash_operation_requested_on_empty_key", NULL, MSG_SEV_FATAL, 0, "hash operation requested on empty key" }, { "looking_up_null_key_in_tccenv_hashtable", NULL, MSG_SEV_WARNING, 0, "Looking up null key in tccenv hashtable" }, { "unknown_environment_variable", "5", MSG_SEV_FATAL, 0, "Unknown environment variable %0" }, { "expected_y_option", "5", MSG_SEV_WARNING, 0, "Expected command line option -y%0=[value]; trying environment" }, { NULL, NULL, 0, 0, NULL } };