/*
* 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/tspec/messages.cat
*/
#include <stddef.h>
#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"
},
{
"name_already_defined_at",
"5551",
MSG_SEV_ERROR,
0,
"%c%0 '%1' already defined (%2, line %3)"
},
{
"name_already_defined",
"55",
MSG_SEV_ERROR,
0,
"%c%0 '%1' already defined"
},
{
"unknown_type_identifier",
"0",
MSG_SEV_FATAL,
0,
"%cUnknown type identifier, '%0'"
},
{
"unknown_object_type",
"0",
MSG_SEV_FATAL,
0,
"%cUnknown object type, '%0'"
},
{
"identifier_too_long",
NULL,
MSG_SEV_ERROR,
0,
"%cIdentifier too long"
},
{
"unknown_command",
"5",
MSG_SEV_ERROR,
0,
"%cUnknown command, '%0'"
},
{
"number_too_long",
NULL,
MSG_SEV_ERROR,
0,
"%cNumber too long"
},
{
"new_line_in_string",
NULL,
MSG_SEV_ERROR,
0,
"%cNew line in string"
},
{
"string_too_long",
NULL,
MSG_SEV_ERROR,
0,
"%cString too long"
},
{
"insert_too_long",
NULL,
MSG_SEV_ERROR,
0,
"%cInsert too long"
},
{
"end_of_file_in_quoted_text",
NULL,
MSG_SEV_ERROR,
0,
"%cEnd of file in quoted text"
},
{
"end_of_file_in_comment",
NULL,
MSG_SEV_ERROR,
0,
"%cEnd of file in comment"
},
{
"comment_too_long",
NULL,
MSG_SEV_ERROR,
0,
"%cComment too long"
},
{
"string_expected",
NULL,
MSG_SEV_ERROR,
0,
"%cSyntax error - string expected"
},
{
"close_round_expected",
NULL,
MSG_SEV_ERROR,
0,
"%cSyntax error - ')' expected"
},
{
"illegally_bracketed_string",
NULL,
MSG_SEV_ERROR,
0,
"%cIllegally bracketed string"
},
{
"semicolon_or_open_round_expected",
NULL,
MSG_SEV_ERROR,
0,
"%c';' or '(' expected"
},
{
"recursive_inclusion",
"5",
MSG_SEV_ERROR,
0,
"%cRecursive inclusion of '%0'"
},
{
"set_not_found",
"5",
MSG_SEV_ERROR,
0,
"%cSet '%0' not found"
},
{
"set_not_found_no_file",
"55",
MSG_SEV_ERROR,
0,
"%cSet '%0' not found (can't find file %1)"
},
{
"assign_expected",
NULL,
MSG_SEV_ERROR,
0,
"%cSyntax error - ':=' expected"
},
{
"open_hbrace_expected",
NULL,
MSG_SEV_ERROR,
0,
"%cSyntax error - '{' expected"
},
{
"cant_find_end_of_subset",
"5",
MSG_SEV_ERROR,
0,
"%cCan't find end of subset '%0'"
},
{
"semicolon_expected",
NULL,
MSG_SEV_ERROR,
0,
"%cSyntax error - ';' expected"
},
{
"set_already_defined_at",
"50",
MSG_SEV_ERROR,
0,
"%cSet '%0' already defined (line %1)"
},
{
"pset_directive_in_preprocessor",
NULL,
MSG_SEV_ERROR,
0,
"%c+SET directive in preprocessor"
},
{
"pelse_without_pif",
NULL,
MSG_SEV_ERROR,
0,
"%c+ELSE without +IF"
},
{
"duplicate_pelse",
NULL,
MSG_SEV_ERROR,
0,
"%cDuplicate +ELSE"
},
{
"pendif_without_pif",
NULL,
MSG_SEV_ERROR,
0,
"%c+ENDIF without +IF"
},
{
"unmatched_close_hbrace",
NULL,
MSG_SEV_ERROR,
0,
"%cUnmatched '}'"
},
{
"bracket_imbalance_of",
"0",
MSG_SEV_ERROR,
0,
"%cBracket imbalance of %0"
},
{
"pif_without_pendif",
NULL,
MSG_SEV_ERROR,
0,
"%c+IF without +ENDIF"
},
{
"set_not_found_no_subset",
"55",
MSG_SEV_ERROR,
0,
"%cSet '%0' not found (can't find subset '%1')"
},
{
"separate_compilation_failed",
"5",
MSG_SEV_ERROR,
0,
"%cSeparate compilation of %0 failed"
},
{
"cant_open_temporary_file",
NULL,
MSG_SEV_FATAL,
0,
"Can't open temporary file"
},
{
"errors_in_preprocessor_phase",
"0",
MSG_SEV_FATAL,
0,
"%c%0 error(s) in preprocessor phase"
},
{
"errors_in_separate_compilation",
"0",
MSG_SEV_FATAL,
0,
"%c%0 error(s) in separate compilation"
},
{
"errors_in_analyser_phase",
"0",
MSG_SEV_FATAL,
0,
"%c%0 error(s) in analyser phase"
},
{
"duplicate_type_specifier",
NULL,
MSG_SEV_ERROR,
0,
"%cDuplicate type specifier"
},
{
"duplicate_type_qualifier",
NULL,
MSG_SEV_ERROR,
0,
"%cDuplicate type qualifier"
},
{
"constant_cant_be_lvalue",
NULL,
MSG_SEV_ERROR,
0,
"%cConstant can't be an lvalue"
},
{
"empty_parameter_list",
NULL,
MSG_SEV_WARNING,
0,
"%cEmpty parameter list"
},
{
"undefined_nat",
"5",
MSG_SEV_ERROR,
0,
"%cUndefined NAT, '%0'"
},
{
"not_a_nat",
"5",
MSG_SEV_ERROR,
0,
"%c'%0' is not a NAT"
},
{
"non_integral_promotion_type",
NULL,
MSG_SEV_ERROR,
0,
"%cNon-integral promotion type"
},
{
"illegal_field_type",
"5",
MSG_SEV_ERROR,
0,
"%cIllegal field type, '%0'"
},
{
"redefinition_of_type",
"5",
MSG_SEV_ERROR,
0,
"%cRedefinition of type '%0'"
},
{
"empty_struct_union_definition",
NULL,
MSG_SEV_ERROR,
0,
"%cEmpty struct/union definition"
},
{
"syntax_error",
NULL,
MSG_SEV_ERROR,
0,
"%cSyntax error"
},
{
"invalid_type_specifier",
NULL,
MSG_SEV_ERROR,
0,
"%cInvalid type specifier"
},
{
"unknown_special_type",
"5",
MSG_SEV_ERROR,
0,
"%cUnknown special type '%0'"
},
{
"type_not_defined",
"55",
MSG_SEV_ERROR,
0,
"%c%0'%1' not defined"
},
{
"type_used_inconsistently",
"5555",
MSG_SEV_ERROR,
0,
"%c%0'%1' used inconsistently (see %2, line %3)"
},
{
"type_void_is_incomplete",
NULL,
MSG_SEV_ERROR,
0,
"%cThe type 'void' is incomplete"
},
{
"incomplete_array_type",
NULL,
MSG_SEV_ERROR,
0,
"%cIncomplete array type"
},
{
"function_cant_return_an_array",
NULL,
MSG_SEV_ERROR,
0,
"%cA function can't return an array"
},
{
"non_integral_bitfield_type",
NULL,
MSG_SEV_ERROR,
0,
"%cNon-integral bitfield type"
},
{
"object_type_expected",
NULL,
MSG_SEV_ERROR,
0,
"%cObject type expected"
},
{
"function_type_expected",
NULL,
MSG_SEV_ERROR,
0,
"%cFunction type expected"
},
{
"illegal_directory",
"5",
MSG_SEV_ERROR,
0,
"Illegal directory, %0"
},
{
"cant_create_directory",
"5",
MSG_SEV_ERROR,
0,
"Can't create directory %0: %a"
},
{
"path_component_too_long",
"50",
MSG_SEV_WARNING,
0,
"The filename %0 contains a component of length %1"
},
{
"unknown_string_variable",
"5",
MSG_SEV_ERROR,
0,
"%cUnknown string variable, '%0'"
},
{
"unknown_integer_variable",
"5",
MSG_SEV_ERROR,
0,
"%cUnknown integer variable, '%0'"
},
{
"usage",
NULL,
MSG_SEV_NONE,
0,
"Usage: tspec [options] {api [header [subset]] | -l file} \nwhere options are:"
},
{
"description_of_allow_longlong",
NULL,
MSG_SEV_NONE,
0,
"Allow long long type specifiers."
},
{
"description_of_atonce",
NULL,
MSG_SEV_NONE,
0,
"Check all headers in an API at once."
},
{
"description_of_check_only",
NULL,
MSG_SEV_NONE,
0,
"Process input files but do not generate any output."
},
{
"description_of_docindex",
NULL,
MSG_SEV_NONE,
0,
"Print a human readable index of all the objects specified in the input files to the standard output."
},
{
"description_of_force_output",
NULL,
MSG_SEV_NONE,
0,
"Always update output files."
},
{
"description_of_include",
NULL,
MSG_SEV_NONE,
0,
"DIR[:DIR] Add directory DIR to the search path of input files. Multiple directories can be specified via colon."
},
{
"description_of_local_input",
NULL,
MSG_SEV_NONE,
0,
"Set local input mode."
},
{
"description_of_machindex",
NULL,
MSG_SEV_NONE,
0,
"Print an index intended for machine processing of all the objects specified in the input files to the standard output."
},
{
"description_of_nowarns",
NULL,
MSG_SEV_NONE,
0,
"Disable generation of warning messages."
},
{
"description_of_outidir",
NULL,
MSG_SEV_NONE,
0,
"DIRECTORY Place include output files into DIRECTORY."
},
{
"description_of_outsdir",
NULL,
MSG_SEV_NONE,
0,
"DIRECTORY Place source output files into DIRECTORY."
},
{
"description_of_preprocess",
NULL,
MSG_SEV_NONE,
0,
"Only preprocess input files."
},
{
"description_of_preproc_input",
NULL,
MSG_SEV_NONE,
0,
"Assume that input files are already preprocessed."
},
{
"description_of_progtstamp",
NULL,
MSG_SEV_NONE,
0,
"Update output files that are newer than tspec itself."
},
{
"description_of_restrict_depth",
NULL,
MSG_SEV_NONE,
0,
"This option documented elsewhere."
},
{
"description_of_restrict_use",
NULL,
MSG_SEV_NONE,
0,
"Produce output only for implemented objects."
},
{
"description_of_separate",
NULL,
MSG_SEV_NONE,
0,
"Check each header in an API separately."
},
{
"description_of_unique_names",
NULL,
MSG_SEV_NONE,
0,
"Generate unique token names for objects."
},
{
"description_of_verbose",
NULL,
MSG_SEV_NONE,
0,
"Increase report verbosity."
},
{
NULL,
NULL,
0,
0,
NULL
}
};
syntax highlighted by Code2HTML, v. 0.9.1