aboutsummaryrefslogtreecommitdiff
path: root/gcc/m2/gm2-compiler/M2MetaError.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/m2/gm2-compiler/M2MetaError.def')
-rw-r--r--gcc/m2/gm2-compiler/M2MetaError.def12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/m2/gm2-compiler/M2MetaError.def b/gcc/m2/gm2-compiler/M2MetaError.def
index 637a27d..3dfe9fa 100644
--- a/gcc/m2/gm2-compiler/M2MetaError.def
+++ b/gcc/m2/gm2-compiler/M2MetaError.def
@@ -73,7 +73,8 @@ FROM NameKey IMPORT Name ;
{%kword} the string word is unquoted and rendered as a keyword.
{%C} chain this error on the previous rooted error.
{%R} this error will be the root of the future chained errors.
- {%n} decimal number. Not quoted.
+ {% n} decimal number. Not quoted. There is no space between the
+ % and n (this has been added to hide this comment from gettext).
{%N} count (number), for example, 1st, 2nd, 3rd, 4th. Not quoted.
{%X} push contents of the output string onto the string stack.
{%Yname} place contents of dictionary entry name onto the output string.
@@ -92,9 +93,9 @@ FROM NameKey IMPORT Name ;
%} }
the error messages may also embed optional strings such as:
- {%1a:this string is emitted if the symbol name is non null}
- {!%1a:this string is emitted if the symbol name is null}
- {!%1a:{%1d}}
+ {%1a:this string is emitted if the symbol name is null}
+ {!%1a:this string is emitted if the symbol name is non null}
+ {%1a:{%1d}}
if the symbol name does not exist then print a description
of the symbol.
{%1atd} was incompatible with the return type of the procedure
@@ -109,7 +110,8 @@ FROM NameKey IMPORT Name ;
describe the symbol. If ordinary text is copied then it is not quoted.
The color strings are: "filename", "quote", "error", "warning", "note",
- "locus", "insert", "delete", "type", "range1", range2".
+ "locus", "insert", "delete", "type", "range1",
+ "range2".
*)
(*