GCC Wikia
Advertisement

このページを編集する際は,編集に関する方針に従ってください.[]

概要[]

実装[]

  53 /* The chunk_info data structure forms a stack of the results from the
  54    first phase of formatting (pp_base_format) which have not yet been
  55    output (pp_base_output_formatted_text).  A stack is necessary because
  56    the diagnostic starter may decide to generate its own output by way
  57    of the formatter.  */
58 struct chunk_info
59 {
  60   /* Pointer to previous chunk on the stack.  */
61   struct chunk_info *prev;
62 
  63   /* Array of chunks to output.  Each chunk is a NUL-terminated string.
  64      In the first phase of formatting, even-numbered chunks are
  65      to be output verbatim, odd-numbered chunks are format specifiers.
  66      The second phase replaces all odd-numbered chunks with formatted
  67      text, and the third phase simply emits all the chunks in sequence
  68      with appropriate line-wrapping.  */
69   const char *args[PP_NL_ARGMAX * 2];
70 };


リンク元

Advertisement