diff options
author | austern <austern@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-27 22:24:35 +0000 |
---|---|---|
committer | austern <austern@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-27 22:24:35 +0000 |
commit | 2e1f41a9715c471f4681d98cac6cc8f76ac0a1a3 (patch) | |
tree | eaabda6d357ad0b18ff320a27dd73bc59f30f80b /libjava/java/net/natNetworkInterfacePosix.cc | |
parent | 0ff89ae1c734efa3ef15396372ce4d97dd50cc01 (diff) | |
download | ppe42-gcc-2e1f41a9715c471f4681d98cac6cc8f76ac0a1a3.tar.gz ppe42-gcc-2e1f41a9715c471f4681d98cac6cc8f76ac0a1a3.zip |
Fix implicit extern "C" breakage introduced by tokenization patch.
* cp/parser.c (struct cp_token): new one-bit field , implicit_extern_c
(cp_lexer_get_preprocessor_token): Set implicit_extern_c for
tokens that come from headers that are implicitly extern "C".
(struct cp_parser): new one-bit field, implicit_extern_c.
(cp_parser_new): Set parser's implicit_extern_c to false.
(cp_parser_translation_unit): Pop lang context if we were in a
header that was implicitly extern "C".
(cp_parser_declaration_seq_opt): Push/pop lang context as
required by the token's and parser's implicit_extern_c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/net/natNetworkInterfacePosix.cc')
0 files changed, 0 insertions, 0 deletions