manpagez: man pages & more
info gettext
Home | html | info | man

File: gettext.info,  Node: gcc-internal-format,  Next: gfc-internal-format,  Prev: php-format,  Up: Translators for other Languages

16.3.31 GCC internal Format Strings
-----------------------------------

   These format strings are used inside the GCC sources.  In such a
format string, a directive starts with ‘%’, is optionally followed by a
size specifier ‘l’ or ‘ll’ or ‘w’ or ‘z’ or ‘t’, an optional flag ‘q’
(indicates quotes), another optional flag ‘+’, another optional flag
‘#’, and is finished by a specifier:
   • ‘%’ denotes a literal percent sign,
   • ‘<’ denotes an opening quote,
   • ‘>’ or ‘'’ denotes a closing quote,
   • ‘r’ denotes the beginning of a colored text segment,
   • ‘R’ denotes the end of a colored text segment,
   • ‘{’ denotes the beginning of a clickable text segment,
   • ‘}’ denotes the end of a clickable text segment,
   • ‘c’ denotes a character,
   • ‘s’ denotes a string,
   • ‘i’ and ‘d’ denote an integer,
   • ‘o’, ‘u’, ‘x’ denote an unsigned integer,
   • ‘f’ denotes a floating-point number,
   • ‘.*s’ denotes a string preceded by a width specification,
   • ‘D’ denotes a general declaration,
   • ‘E’ denotes an expression,
   • ‘F’ denotes a function declaration,
   • ‘T’ denotes a type,
   • ‘A’ denotes a function argument,
   • ‘H’ denotes the first type in a type difference,
   • ‘I’ denotes the second type in a type difference,
   • ‘O’ denotes a binary operator,
   • ‘P’ denotes a function parameter index,
   • ‘Q’ denotes an assignment operator,
   • ‘S’ denotes a substitution,
   • ‘X’ denotes an exception,
   • ‘V’ or ‘v’ denotes a list of const/volatile qualifiers,
   • ‘C’ denotes a tree code or the current locus,
   • ‘L’ denotes a programming language or a locus,
   • ‘p’, ‘@’, ‘e’ denote various other types of compiler-internal
     objects,
   • ‘Z’ denotes an array of integers.

© manpagez.com 2000-2026
Individual documents may contain additional copyright information.