From e7471c9f3359738c01307ba5a3ec646839ec760d Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Tue, 21 Jun 2011 11:13:29 +0200 Subject: [PATCH] Sort format specifiers in comment for diagnosticf() and add missing variants. --- diagnostic.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/diagnostic.h b/diagnostic.h index 9817f13..dec29d7 100644 --- a/diagnostic.h +++ b/diagnostic.h @@ -44,14 +44,16 @@ /** * 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, ...); -- 2.20.1