The following gives a summary of the syntax for the
error catalogue accepted by the
make_err
tool. Identifiers are normal C-style identifiers,
strings consist of any sequence of characters enclosed inside
"...."
. The escape sequences \"
and
\\
are allowed in strings; other characters (including
newline characters) map to themselves. C-style comments are allowed.
error-database : header typesopt propertiesopt keysopt usagesopt entriesopt header : database-nameopt rig-nameopt prefixesopt
database-name : DATABASE_NAME : identifier rig-name : RIG : identifier
prefixes : PREFIX : output-prefixopt compiler-prefixopt error-prefixopt output-prefix : compiler_output -> identifier compiler-prefix : from_compiler -> identifier error-prefix : from_database -> identifier
types : TYPES : name-listopt properties : PROPERTIES : name-listopt keys : KEYS : name-listopt usages : USAGE : name-listopt name : identifier identifier = identifier identifier = identifier | identifier name-list : name name , name-list
type-name : identifier property-name : identifier key-name : identifier usage-name : identifier
entries : ENTRIES : entries-listopt entry-list : entry entry-listopt entry : identifier ( param-listopt ) { entry-body } entry-body : alt-nameopt entry-usageopt entry-propertiesopt map-listopt
parameter : type-name : identifier param-list : parameter parameter , param-list param-name : identifier
alt-name : ALT_NAME : identifier entry-usage : USAGE : usage-name USAGE : usage-name | usage-name entry-properties : PROPERTIES : property-listopt property-list : property-name property-name , property-list
map : KEY ( key-name ) message-listopt KEY ( key-name ) message-listopt | message-listopt map-list : map map-listopt message-list : string message-listopt param-name message-listopt
Part of the TenDRA Web.
Crown
Copyright © 1998.