diff options
author | Douglas Gregor <doug.gregor@gmail.com> | 2008-03-01 21:39:38 +0000 |
---|---|---|
committer | Doug Gregor <dgregor@gcc.gnu.org> | 2008-03-01 21:39:38 +0000 |
commit | 4dbc8575fb0cf24ce4ef60170dd5959f6cdb07b2 (patch) | |
tree | 6a8f0774ae411ae2428c3b6f1f86ec5bf290af46 /libjava/classpath/java/io/FilePermission.java | |
parent | fafcb222d8dd6983553dcae1fde5584a37f14ef1 (diff) | |
download | gcc-4dbc8575fb0cf24ce4ef60170dd5959f6cdb07b2.zip gcc-4dbc8575fb0cf24ce4ef60170dd5959f6cdb07b2.tar.gz gcc-4dbc8575fb0cf24ce4ef60170dd5959f6cdb07b2.tar.bz2 |
parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Note that auto is either a storage class or a simple type specifier...
2008-03-01 Douglas Gregor <doug.gregor@gmail.com>
* parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Note
that auto is either a storage class or a simple type specifier,
depending on the dialect.
(cp_parser_decl_specifier_seq): Complain about `auto' as a storage
specifier in C++98 mode, error in C++0x mode (since we don't
support auto as a type specifier, yet).
(cp_parser_storage_class_specifier_opt): Don't treat `auto' as a
storage specifier in C++0x mode.
(cp_parser_simple_type_specifier): Parse `auto' as a
simple-type-specifier, but error because we don't support it yet.
2008-03-01 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/cpp0x/auto1.C: New.
From-SVN: r132806
Diffstat (limited to 'libjava/classpath/java/io/FilePermission.java')
0 files changed, 0 insertions, 0 deletions