Sort format specifiers in comment for diagnosticf() and add missing variants.
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 21 Jun 2011 09:13:29 +0000 (11:13 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 21 Jun 2011 13:53:01 +0000 (15:53 +0200)
diagnostic.h

index 9817f13..dec29d7 100644 (file)
 /**
  * Issue a diagnostic message.
  * Format types:
- *  %Y  const symbol_t *
- *  %E  const expression_t *
- *  %Q  unsigned  (qualifier)
- *  %T  const type_t*
- *  %K  const token_t*
- *  %k  token_kind_t
- *  %P  const source_position_t *
- *  %S  const string_t *
+ *  %E   expression_t const*
+ *  %K   token_t const*
+ *  %k   token_kind_t
+ *  %#k  va_list*, char const*
+ *  %P   source_position_t const*
+ *  %Q   unsigned (qualifier)
+ *  %S   string_t const*
+ *  %T   type_t const*
+ *  %#T  type_t const*, symbol_t const*
+ *  %Y   symbol_t const*
  */
 void diagnosticf(const char *fmt, ...);
 void errorf(const source_position_t *pos, const char *fmt, ...);