/*
* 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/utilities/sid/messages.cat
* AUTOMATICALLY GENERATED BY mkerr.awk FROM /mnt/gmirror/ports/lang/TenDRA/work/tendra/src/utilities/sid/parser.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"
},
{
"basic_result_code_not_defined",
"I",
MSG_SEV_ERROR,
0,
"result code not defined for basic '%0'"
},
{
"action_code_not_defined",
"I",
MSG_SEV_ERROR,
0,
"definition code not defined for action '%0'"
},
{
"type_code_not_defined",
"I",
MSG_SEV_ERROR,
0,
"some but not all assignment operations defined for type '%0'"
},
{
"code_undefined_result",
"51G",
MSG_SEV_ERROR,
0,
"%0: %1: code result '%2' is not defined"
},
{
"bad_id_substitution",
"51G",
MSG_SEV_ERROR,
0,
"%0: %1"
},
{
"bad_mod_id_substitution",
"51G",
MSG_SEV_ERROR,
0,
"%0: %1: substituted mutable identifier '%2' is not a parameter"
},
{
"mod_id_in_assign",
"51G",
MSG_SEV_ERROR,
0,
"%0: %1: substituted mutable identifier '%2' in assignment operator definition"
},
{
"bad_ref_id_substitution",
"51G",
MSG_SEV_ERROR,
0,
"%0: %1: substituted reference identifier '%2' is not a parameter"
},
{
"ref_id_in_param_op",
"51G",
MSG_SEV_ERROR,
0,
"%0: %1: substituted address of identifier '%2' in parameter assignment operator definition"
},
{
"bad_label_substitution",
"51G",
MSG_SEV_ERROR,
0,
"%0: %1: substituted label '%2' in unparameterised block"
},
{
"bad_exception_substitution",
"51",
MSG_SEV_ERROR,
0,
"%0: %1: substituted exception call in unsuitable code block"
},
{
"bad_advance_substitution",
"51",
MSG_SEV_ERROR,
0,
"%0: %1: substituted lexer advance call in unsuitable code block"
},
{
"bad_terminal_substitution",
"51",
MSG_SEV_ERROR,
0,
"%0: %1: substituted current terminal call in unsuitable code block"
},
{
"c_eof_in_comment",
"M",
MSG_SEV_ERROR,
0,
"%0end of file in comment"
},
{
"c_illegal_comment_character",
"M4",
MSG_SEV_ERROR,
0,
"%0illegal comment character '%1'"
},
{
"c_null_character_in_builtin",
"M",
MSG_SEV_ERROR,
0,
"%0null character in builtin"
},
{
"c_eof_in_builtin",
"M",
MSG_SEV_ERROR,
0,
"%0end of file in builtin"
},
{
"c_unknown_builtin",
"M5",
MSG_SEV_FATAL,
0,
"%0unknown builtin '%%1%'"
},
{
"c_expected_at_id",
"M4",
MSG_SEV_ERROR,
0,
"%0expected identifier after '@%1' construct"
},
{
"c_illegal_at_char",
"M4",
MSG_SEV_ERROR,
0,
"%0illegal character after '@': '%1'"
},
{
"c_code_block_syntax",
"M",
MSG_SEV_ERROR,
0,
"%0expected '{' to begin code block"
},
{
"c_eof_in_code",
"M",
MSG_SEV_ERROR,
0,
"%0end of file in C code block"
},
{
"c_illegal_character",
"M4",
MSG_SEV_ERROR,
0,
"%0illegal character '%1'"
},
{
"c_newline_in_builtin",
"M",
MSG_SEV_ERROR,
0,
"%0newline in builtin"
},
{
"c_unknown_identifier",
"C",
MSG_SEV_ERROR,
0,
"%dunknown identifier '%0'"
},
{
"c_remapped_identifier",
"C",
MSG_SEV_ERROR,
0,
"%dattempt to remap identifier '%0'"
},
{
"c_illegal_map",
"C",
MSG_SEV_ERROR,
0,
"%dcannot map identifier '%0' [it must be a rule, a basic or a type]"
},
{
"c_expected_identifier",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected identifier"
},
{
"c_expected_c_identifier",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected C identifier"
},
{
"c_unknown_assign",
"C",
MSG_SEV_ERROR,
0,
"%dassignment operation defined for unknown type '%0'"
},
{
"c_assign_mult_def",
"C",
MSG_SEV_ERROR,
0,
"%dmultiple assignment operations defined for type '%0'"
},
{
"c_assign_param_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%dparameter type mismatch for assignment operation on type '%0' [%2 should be %1]"
},
{
"c_assign_param_clash",
"IL",
MSG_SEV_ERROR,
0,
"%dassignment operation parameter clash (or missing name) for type '%0' [parameter = %1]"
},
{
"c_assign_result_clash",
"IL",
MSG_SEV_ERROR,
0,
"%dassignment operation result clash (or missing name) for type '%0' [result = %1]"
},
{
"c_assign_formal_clash",
"ILL",
MSG_SEV_ERROR,
0,
"%dassignment operation formal clash for type '%0' [parameter = %1, result = %2]"
},
{
"c_expected_code",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected code block"
},
{
"c_assign_result_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%dresult type mismatch for assignment operation on type '%0' [%2 should be %1]"
},
{
"c_unknown_action",
"C",
MSG_SEV_ERROR,
0,
"%ddefinition for unknown action '%0'"
},
{
"c_action_mult_def",
"C",
MSG_SEV_ERROR,
0,
"%dmultiple definitions for action '%0'"
},
{
"c_action_result_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%dresult type mismatch for action '%0' [%2 should be %1]"
},
{
"c_action_formal_clash",
"ILL",
MSG_SEV_ERROR,
0,
"%dformal clash for action '%0' [parameter = %1, result = %2]"
},
{
"c_action_param_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%dparameter type mismatch for action '%0' [%2 should be %1]"
},
{
"c_action_param_clash",
"IL",
MSG_SEV_ERROR,
0,
"%dparameter clash (or missing name) for action '%0' [parameter = %1]"
},
{
"c_basic_result_clash",
"IL",
MSG_SEV_ERROR,
0,
"%dextraction operation result clash (or missing name) for terminal '%0' [result = %1]"
},
{
"c_action_result_clash",
"IL",
MSG_SEV_ERROR,
0,
"%dresult clash (or missing name) for action '%0' [result = %1]"
},
{
"c_expected_end_action",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected '>'"
},
{
"c_expected_separator",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected ','"
},
{
"c_unknown_result_assign",
"C",
MSG_SEV_ERROR,
0,
"%dresult assignment operation defined for unknown type '%0'"
},
{
"c_unknown_param_assign",
"C",
MSG_SEV_ERROR,
0,
"%dparameter assignment operation defined for unknown type '%0'"
},
{
"c_basic_result_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%dresult type mismatch for extraction operation on terminal '%0' [%2 should be %1]"
},
{
"c_basic_param_clash",
"IL",
MSG_SEV_ERROR,
0,
"%dextraction operation parameter clash (or missing name) for terminal '%0' [parameter = %1]"
},
{
"c_basic_mult_def",
"C",
MSG_SEV_ERROR,
0,
"%dmultiple extraction operations defined for terminal '%0'"
},
{
"c_basic_formal_clash",
"ILL",
MSG_SEV_ERROR,
0,
"%dextraction operation formal clash for terminal '%0' [parameter = %1, result = %2]"
},
{
"c_basic_has_no_result",
"C",
MSG_SEV_ERROR,
0,
"%dextraction operation defined for terminal '%0' that returns nothing"
},
{
"c_basic_param_mismatch",
"IL",
MSG_SEV_ERROR,
0,
"%dparameter type mismatch for extraction operation on terminal '%0' [%1 should be ()]"
},
{
"c_expected_define",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected '='"
},
{
"c_expected_arrow",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected '->'"
},
{
"c_expected_terminator",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected ';'"
},
{
"c_param_assign_mult_def",
"C",
MSG_SEV_ERROR,
0,
"%dmultiple parameter assignment operations defined for type '%0'"
},
{
"c_param_assign_param_clash",
"IL",
MSG_SEV_ERROR,
0,
"%dparameter assignment operation parameter clash (or missing name) for type '%0' [parameter = %1]"
},
{
"c_param_assign_result_clash",
"IL",
MSG_SEV_ERROR,
0,
"%dparameter assignment operation result clash (or missing name) for type '%0' [result = %1]"
},
{
"c_param_assign_res_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%dresult type mismatch for parameter assignment operation on type '%0' [%2 should be %1]"
},
{
"c_param_assign_param_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%dparameter type mismatch for parameter assignment operation on type '%0' [%2 should be %1]"
},
{
"c_param_assign_formal_clash",
"ILL",
MSG_SEV_ERROR,
0,
"%dparameter assignment operation formal clash for type '%0' [parameter = %1, result = %2]"
},
{
"c_unknown_type",
"C",
MSG_SEV_ERROR,
0,
"%dtype '%0' hasn't been declared"
},
{
"c_unknown_prefix",
"C",
MSG_SEV_ERROR,
0,
"%dunknown prefix type '%0'"
},
{
"c_unknown_basic",
"C",
MSG_SEV_ERROR,
0,
"%dextraction operation defined for unknown terminal '%0'"
},
{
"c_expected_blt_trailer",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected '%trailer%'"
},
{
"c_expected_eof",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected end of file"
},
{
"c_expected_blt_header",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected '%header%'"
},
{
"c_expected_blt_terminals",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected '%terminals%'"
},
{
"c_expected_blt_actions",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected '%actions%'"
},
{
"c_expected_open_tuple",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected '('"
},
{
"c_expected_close_tuple",
NULL,
MSG_SEV_ERROR,
0,
"%dexpected ')'"
},
{
"c_expected_basic",
"5",
MSG_SEV_FATAL,
0,
"%dexpected basic '%0'"
},
{
"c_result_assign_mult_def",
"C",
MSG_SEV_ERROR,
0,
"%dmultiple result assignment operations defined for type '%0'"
},
{
"c_res_assign_result_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%dresult type mismatch for result assignment operation on type '%0' [%2 should be %1]"
},
{
"c_result_assign_result_clash",
"IL",
MSG_SEV_ERROR,
0,
"%dresult assignment operation result clash (or missing name) for type '%0' [result = %1]"
},
{
"c_res_assign_param_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%dparameter type mismatch for result assignment operation on type '%0' [%2 should be %1]"
},
{
"c_result_assign_param_clash",
"IL",
MSG_SEV_ERROR,
0,
"%dresult assignment operation parameter clash (or missing name) for type '%0' [parameter = %1]"
},
{
"c_result_assign_formal_clash",
"ILL",
MSG_SEV_ERROR,
0,
"%dresult assignment operation formal clash for type '%0' [parameter = %1, result = %2]"
},
{
"rule_not_used",
"I",
MSG_SEV_ERROR,
0,
"rule '%0' is never used"
},
{
"rule_not_defined",
"I",
MSG_SEV_ERROR,
0,
"rule '%0' is never defined"
},
{
"basic_not_used",
"I",
MSG_SEV_ERROR,
0,
"basic '%0' is never used"
},
{
"action_not_used",
"I",
MSG_SEV_ERROR,
0,
"action '%0' is never used"
},
{
"type_not_used",
"I",
MSG_SEV_ERROR,
0,
"type '%0' is never used"
},
{
"non_local_not_used",
"I",
MSG_SEV_ERROR,
0,
"non local name '%0' is never used"
},
{
"too_many_terminals",
NULL,
MSG_SEV_ERROR,
0,
"too many terminals in grammar"
},
{
"eof_in_comment",
"M",
MSG_SEV_ERROR,
0,
"%0end of file in comment"
},
{
"illegal_comment_character",
"M4",
MSG_SEV_ERROR,
0,
"%0illegal comment character '%1'"
},
{
"errf_null_char_in_builtin",
"M",
MSG_SEV_FATAL,
0,
"%0null character in builtin"
},
{
"newline_in_builtin",
"M",
MSG_SEV_ERROR,
0,
"%0newline in builtin"
},
{
"eof_in_builtin",
"M",
MSG_SEV_ERROR,
0,
"%0end of file in builtin"
},
{
"unknown_builtin",
"M5",
MSG_SEV_FATAL,
0,
"%0unknown builtin '%%1%'"
},
{
"expected_hash",
"M",
MSG_SEV_ERROR,
0,
"%0second character missing from '##' operator"
},
{
"expected_pipe",
"M",
MSG_SEV_ERROR,
0,
"%0second character missing from '"
},
{
"illegal_character",
"M4",
MSG_SEV_ERROR,
0,
"%0illegal character '%1'"
},
{
"null_character_in_builtin",
"M",
MSG_SEV_ERROR,
0,
"%0null character in builtin"
},
{
"bad_split_size",
"5",
MSG_SEV_FATAL,
0,
"bad split size '%0'"
},
{
"bad_language_option",
"55",
MSG_SEV_FATAL,
0,
"language '%0' doesn't understand option '%1'"
},
{
"bad_tab_width",
"5",
MSG_SEV_FATAL,
0,
"bad tab width '%0'"
},
{
"bad_inlining_phase",
"5",
MSG_SEV_FATAL,
0,
"bad inlining phase '%0'"
},
{
"bad_factor_limit",
"5",
MSG_SEV_FATAL,
0,
"bad factor limit '%0'"
},
{
"bad_language",
"5",
MSG_SEV_FATAL,
0,
"unknown language '%0' (should be 'ansi-c', 'pre-ansi-c', 'ossg-c' or 'test')"
},
{
"multiple_dump_files",
NULL,
MSG_SEV_FATAL,
0,
"more than one dump file specified"
},
{
"no_memory",
NULL,
MSG_SEV_FATAL,
0,
"cannot allocate memory"
},
{
"cannot_open_dump_file",
"5",
MSG_SEV_FATAL,
0,
"cannot open dump file '%0': %a"
},
{
"usage",
"511",
MSG_SEV_FATAL,
0,
"language '%0' requires %1 input files and %2 output files"
},
{
"description_of_dump_file",
NULL,
MSG_SEV_NONE,
0,
"FILE Cause intermediate grammars to be written to FILE."
},
{
"description_of_factor_limit",
NULL,
MSG_SEV_NONE,
0,
"NUMBER Set the maximum NUMBER of rules to be generated during factorisation."
},
{
"description_of_inlining",
NULL,
MSG_SEV_NONE,
0,
"CLASS Set which classes of rule are inlined. \nCLASS should be any of 'SINGLES', 'BASICS', 'TAIL', 'OTHER', 'MULTI' or 'ALL'."
},
{
"description_of_language",
NULL,
MSG_SEV_NONE,
0,
"LANG Set the language LANG for the output parser."
},
{
"description_of_switch",
NULL,
MSG_SEV_NONE,
0,
"OPTION Pass OPTION to language specific option parser."
},
{
"description_of_tab_width",
NULL,
MSG_SEV_NONE,
0,
"NUMBER Set the NUMBER of spaces in a tab character."
},
{
"sid_usage_message",
NULL,
MSG_SEV_NONE,
0,
"Usage: sid [options ...] in-file ... out-file ... \nwhere options are:"
},
{
"predicate_list_collision",
"JH",
MSG_SEV_ERROR,
0,
"collision of predicates %1 in rule '%0'"
},
{
"first_set_collision",
"JE",
MSG_SEV_ERROR,
0,
"collision of terminal(s) %1 in rule '%0'"
},
{
"follow_set_collision",
"JEF",
MSG_SEV_ERROR,
0,
"the terminal(s) %1 can start rule '%0' which is see through, and the same terminal(s) may appear in the following situations:\n%2"
},
{
"multiple_see_through_alts",
"J",
MSG_SEV_ERROR,
0,
"the rule '%0' contains more than one see through alternative"
},
{
"predicate_collision",
"JI",
MSG_SEV_ERROR,
0,
"collision of predicate '%1' in rule '%0'"
},
{
"predicate_follow_set_coll",
"JHF",
MSG_SEV_ERROR,
0,
"the predicate(s) %1 can start rule '%0' which is see through, and the same predicate(s) may appear in the following situations:%2"
},
{
"factor_handler_mismatch",
"JJ",
MSG_SEV_ERROR,
0,
"the rule '%0' cannot be expanded into '%1' as the exception handlers don't match"
},
{
"factor_nl_entry",
"JJ",
MSG_SEV_ERROR,
0,
"the rule '%0' cannot be expanded into '%1' as it contains non local name definitions"
},
{
"too_many_factorisations",
"1",
MSG_SEV_FATAL,
0,
"too many productions (%0) created during factorisation"
},
{
"see_to_rule_predicate",
"JJ",
MSG_SEV_ERROR,
0,
"can see through to predicates in rule '%0' in production\n%1"
},
{
"cannot_compute_first_set",
"J",
MSG_SEV_ERROR,
0,
"cannot compute first set for production\n%0"
},
{
"see_to_predicate",
"IJ",
MSG_SEV_ERROR,
0,
"can see through to predicate '%0' in production\n%1"
},
{
"redundant_see_through_alt",
"J",
MSG_SEV_ERROR,
0,
"the rule '%0' has all terminals in its first set and has a redundant see through alternative"
},
{
"out_of_scope_non_local",
"JJK",
MSG_SEV_ERROR,
0,
"a non local name in the rule '%0' is not in scope in the rule '%1' in the left recursive cycle involving the following productions:\n%2"
},
{
"left_recursion_name_mismatch",
"K",
MSG_SEV_ERROR,
0,
"the argument names of the left recursive calls in the following productions do not match:\n%0"
},
{
"left_recursion_type_mismatch",
"K",
MSG_SEV_ERROR,
0,
"the parameter or result types of the left recursive calls in the following productions do not match:\n%0"
},
{
"left_rec_handler_mismatch",
"K",
MSG_SEV_ERROR,
0,
"the exception handlers in the left recursion involving the following productions do not match:\n%0"
},
{
"left_recursion_nl_entry",
"JK",
MSG_SEV_ERROR,
0,
"the rule '%0' declares non local names in the left recursive cycle with more than one entry point involving the following productions:\n%1"
},
{
"cycle_no_terminator",
"J",
MSG_SEV_ERROR,
0,
"no cycle termination for the left recursive set involving the following rules: %0"
},
{
"shadows_global",
"IJ",
MSG_SEV_ERROR,
0,
"%cthe name '%0' shadows a global name in rule '%1'"
},
{
"shadows_non_local",
"IIJ",
MSG_SEV_ERROR,
0,
"%cthe name '%0' shadows the non local name '%1' in rule '%2'"
},
{
"too_many_generated_ids",
NULL,
MSG_SEV_FATAL,
0,
"too many automatically generated identifiers required"
},
{
"too_many_generated_names",
NULL,
MSG_SEV_FATAL,
0,
"too many automatically generated names required"
},
{
"dalloc_corrupt_block",
"519",
MSG_SEV_INTERNAL,
0,
"memory block %2 is corrupt at deallocation (deallocation at line %1 in file '%0'"
},
{
"dalloc_multi_deallocate",
"51951",
MSG_SEV_INTERNAL,
0,
"memory block %2 allocated at line %4 in '%3' is deallocated more than once (second deallocation at line %1 in file '%0'"
},
{
"expected_basic",
"5",
MSG_SEV_FATAL,
0,
"%cexpected terminal '%0'"
},
{
"expected_begin_action",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '<'"
},
{
"expected_end_action",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '>'"
},
{
"expected_define",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '='"
},
{
"expected_end_rule",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '}'"
},
{
"expected_other_defn",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected rule declaration or rule or non local name definition"
},
{
"expected_production_defn",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected rule declaration or definition, or action declaration"
},
{
"expected_separator",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected ','"
},
{
"expected_terminal_decn",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected identifier or '!'"
},
{
"expected_open_tuple",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '('"
},
{
"expected_item",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected item"
},
{
"expected_blt_terminals",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '%terminals%'"
},
{
"expected_blt_entry",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '%entry%'"
},
{
"expected_blt_types",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '%types%'"
},
{
"expected_terminator_or_define",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected ';' or '='"
},
{
"expected_tuple_defn",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected identifier or ':'"
},
{
"expected_tuple_or_term",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected tuple or ';'"
},
{
"expected_begin_rule",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '{'"
},
{
"expected_end_scope",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected ']'"
},
{
"expected_blt_productions",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '%productions%'"
},
{
"expected_terminator",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected ';'"
},
{
"expected_tuple_def_or_term",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected tuple, '=' or ';'"
},
{
"expected_lhs_name",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected identifier, '?' or '!'"
},
{
"expected_item_rhs",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected item right hand side"
},
{
"expected_arrow",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected '->'"
},
{
"expected_identifier",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected identifier"
},
{
"expected_typemark",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected ':'"
},
{
"expected_rhs_name",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected identifier or '&'"
},
{
"expected_eof",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected end of file"
},
{
"expected_alternative",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected alternative"
},
{
"expected_close_tuple",
NULL,
MSG_SEV_ERROR,
0,
"%cexpected ')'"
},
{
"handler_result_mismatch",
"I",
MSG_SEV_ERROR,
0,
"%cresult formals are not defined in exception handler alternative of production '%0'"
},
{
"rule_result_has_names",
"IL",
MSG_SEV_ERROR,
0,
"%cresult of declaration of rule '%0' has names [result = %1]"
},
{
"rule_already_defined",
"I",
MSG_SEV_ERROR,
0,
"%cproduction '%0' is already defined"
},
{
"rule_formal_clash",
"ILL",
MSG_SEV_ERROR,
0,
"%cparameter and result names are not disjoint for production '%0' [parameter = %1, result = %2]"
},
{
"rule_param_clash",
"IL",
MSG_SEV_ERROR,
0,
"%cparameter names are not disjoint (or are missing) for production '%0' [parameter = %1]"
},
{
"rule_param_call_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%cparameter type mismatch for invocation of rule '%0' [%2 should be %1]"
},
{
"rule_result_call_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%cresult type mismatch for invocation of rule '%0' [%2 should be %1]"
},
{
"rule_param_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%cparameter type mismatch for production '%0' [%2 should be %1]"
},
{
"rule_result_call_clash",
"IL",
MSG_SEV_ERROR,
0,
"%cresult names are not disjoint for invocation of rule '%0' [result = %1]"
},
{
"rule_result_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%cresult type mismatch for production '%0' [%2 should be %1]"
},
{
"rule_param_has_names",
"IL",
MSG_SEV_ERROR,
0,
"%cparameter of declaration of rule '%0' has names [parameter = %1]"
},
{
"rule_result_clash",
"IL",
MSG_SEV_ERROR,
0,
"%cresult names are not disjoint (or are missing) for production '%0' [result = %1]"
},
{
"rule_result_has_refs",
"IL",
MSG_SEV_ERROR,
0,
"%cresult of declaration or definition of rule '%0' has references [result = %1]"
},
{
"too_many_alternatives",
NULL,
MSG_SEV_FATAL,
0,
"%ctoo many alternatives in grammar"
},
{
"multiple_empty_alts",
"I",
MSG_SEV_ERROR,
0,
"%cproduction '%0' has multiple empty alternatives"
},
{
"alt_result_mismatch",
"I1",
MSG_SEV_ERROR,
0,
"%cresult formals are not defined in alternative %1 of production '%0'"
},
{
"duplicate_rule",
"C",
MSG_SEV_ERROR,
0,
"%cidentifier '%0' redeclared as rule"
},
{
"global_scope_non_local",
"C",
MSG_SEV_ERROR,
0,
"%cdefinition of non local name '%0' at global scope"
},
{
"unknown_type",
"C",
MSG_SEV_ERROR,
0,
"%ctype '%0' hasn't been declared"
},
{
"duplicate_non_local",
"C",
MSG_SEV_ERROR,
0,
"%cidentifier '%0' redeclared as non local"
},
{
"unknown_action",
"C",
MSG_SEV_ERROR,
0,
"%caction '%0' hasn't been declared"
},
{
"action_param_call_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%cparameter type mismatch for invocation of action '%0' [%2 should be %1]"
},
{
"initialiser_param_mismatch",
"ILLL",
MSG_SEV_ERROR,
0,
"%cparameter type mismatch for initialiser of non local name '%0' [%3 should be %1, %2 or ()]"
},
{
"basic_result_has_names",
"IL",
MSG_SEV_ERROR,
0,
"%cresult of declaration of terminal '%0' has names [result = %1]"
},
{
"basic_result_call_clash",
"IL",
MSG_SEV_ERROR,
0,
"%cresult names are not disjoint for invocation of terminal '%0' [result = %1]"
},
{
"basic_param_call_mismatch",
"IL",
MSG_SEV_ERROR,
0,
"%cparameter type mismatch for invocation of terminal '%0' [%1 should be ()])"
},
{
"basic_param_has_names",
"IL",
MSG_SEV_ERROR,
0,
"%cparameter of declaration of terminal '%0' has names [parameter = %1]"
},
{
"basic_result_has_refs",
"IL",
MSG_SEV_ERROR,
0,
"%cresult of declaration of terminal '%0' has references [result = %1]"
},
{
"basic_param_mismatch",
"IL",
MSG_SEV_ERROR,
0,
"%cparameter type mismatch for declaration of terminal '%0' [%1 should be ()])"
},
{
"basic_result_call_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%cresult type mismatch for invocation of terminal '%0' [%2 should be %1]"
},
{
"initialiser_result_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%cresult type mismatch for initialiser of non local name '%0' [%2 should be %1]"
},
{
"multi_predicate_return",
NULL,
MSG_SEV_ERROR,
0,
"%cresult contains more than one predicate result symbol"
},
{
"duplicate_type",
"C",
MSG_SEV_ERROR,
0,
"%cidentifier '%0' redeclared as type"
},
{
"undefined_name",
"II1",
MSG_SEV_ERROR,
0,
"%cundefined parameter name '%0' in alternative %2 of production '%1'"
},
{
"identity_mismatch",
"LL",
MSG_SEV_ERROR,
0,
"%ctype mismatch for identity [%1 should be %0]"
},
{
"identity_param_has_refs",
"LI1",
MSG_SEV_ERROR,
0,
"%ccannot take address of identity parameters in alternative %2 of production '%1' [parameter = %0]"
},
{
"unknown_rule",
"C",
MSG_SEV_ERROR,
0,
"%crule '%0' hasn't been declared or defined"
},
{
"duplicate_basic",
"C",
MSG_SEV_ERROR,
0,
"%cidentifier '%0' redeclared as terminal"
},
{
"unknown_rule_or_basic",
"C",
MSG_SEV_ERROR,
0,
"%cidentifier '%0' hasn't been declared or defined"
},
{
"predicate",
NULL,
MSG_SEV_ERROR,
0,
"%cpredicate result symbol used in result of something other than an action"
},
{
"identity_result_clash",
"L",
MSG_SEV_ERROR,
0,
"%cresult names are not disjoint for identity [result = %0]"
},
{
"action_param_has_names",
"IL",
MSG_SEV_ERROR,
0,
"%cparameter of declaration of action '%0' has names [parameter = %1]"
},
{
"action_param_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%cparameter type mismatch for action '%0' [%2 should be %1]"
},
{
"action_result_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%cresult type mismatch for action '%0' [%2 should be %1]"
},
{
"action_result_call_mismatch",
"ILL",
MSG_SEV_ERROR,
0,
"%cresult type mismatch for invocation of action '%0' [%2 should be %1]"
},
{
"action_result_has_names",
"IL",
MSG_SEV_ERROR,
0,
"%cresult of declaration of action '%0' has names [result = %1]"
},
{
"action_result_has_refs",
"IL",
MSG_SEV_ERROR,
0,
"%cresult of declaration of action '%0' has references [result = %1]"
},
{
"action_result_call_clash",
"IL",
MSG_SEV_ERROR,
0,
"%cresult names are not disjoint for invocation of action '%0' [result = %1]"
},
{
"duplicate_action",
"C",
MSG_SEV_ERROR,
0,
"%cidentifier '%0' redeclared as action"
},
{
"redefined_name",
"II1",
MSG_SEV_ERROR,
0,
"%credefined name '%0' in alternative %2 of production '%1'"
},
{
"ambiguous_call",
"C",
MSG_SEV_ERROR,
0,
"%cidentifier '%0' used in ambiguous context [may be name, rule or terminal]"
},
{
"predicate_type",
"GG",
MSG_SEV_ERROR,
0,
"%cpredicate type mismatch [%1 should be %0]"
},
{
"mult_entry",
"I",
MSG_SEV_ERROR,
0,
"%crule '%0' occurs in the entry list more than once"
},
{
"undefined_assignment",
"C",
MSG_SEV_ERROR,
0,
"%cassignment to undefined name '%0'"
},
{
"ignored_basic_call",
"C",
MSG_SEV_ERROR,
0,
"%cinvocation of ignored terminal '%0'"
},
{
NULL,
NULL,
0,
0,
NULL
}
};
syntax highlighted by Code2HTML, v. 0.9.1