X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=diagnostic.h;h=113481c28353a1e7dbc5b0ffd00e7e88ae68944f;hb=1c4f7c9f6ddb6c289ccab22a3795ebc6facfd518;hp=efbccd27771beffe6020a0c58d5a03d1da2667df;hpb=cc9c901984f246c14e4a5b84ddff9d5b93003048;p=cparser diff --git a/diagnostic.h b/diagnostic.h index efbccd2..113481c 100644 --- a/diagnostic.h +++ b/diagnostic.h @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -47,11 +47,11 @@ * %Y const symbol_t * * %E const expression_t * * %Q unsigned (qualifier) - * %T type_t + * %T const type_t* * %K const token_t* * %k token_kind_t * %P const source_position_t * - * + * %S const string_t * */ void diagnosticf(const char *fmt, ...); void errorf(const source_position_t *pos, const char *fmt, ...); @@ -62,7 +62,4 @@ extern unsigned diagnostic_count; extern unsigned error_count; extern unsigned warning_count; -/* true if warnings should be inhibited */ -extern bool inhibit_all_warnings; - #endif