OSDN Git Service

gcc
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2007 20:18:38 +0000 (20:18 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2007 20:18:38 +0000 (20:18 +0000)
commit8115b8bebfeb4eb90663a7fd5865993ce7f10121
tree13e4924b9d71b04792c65b0f96e8b0a51e4b8ecc
parentba3c4aa716f908155aa26a29b09ab38c3c3b040e
gcc
* c-common.c (fname_as_string): Update.
* c-parser.c (c_parser) <lex_untranslated_string>: New field.
(c_lex_one_token): Update.  Add 'parser' argument.
(c_parser_simple_asm_expr): Update.
(c_parser_attributes): Update.
(c_parser_asm_statement): Update.
(c_parser_asm_operands): Update.
(c_parser_peek_token): Update.
(c_parser_peek_2nd_token): Update.
* c-lex.c (c_lex_string_translate): Remove.
(c_lex_return_raw_strings): Likewise.
(c_lex_with_flags): Added 'lex_flags' argument.
(lex_string): Added 'translate' argument.
* c-pragma.h (c_lex_with_flags): Update.
(c_lex_string_translate, c_lex_return_raw_strings): Remove.
(C_LEX_STRING_NO_TRANSLATE): New define.
(C_LEX_RAW_STRINGS): Likewise.
gcc/cp
* parser.c (cp_lexer_new_main): Don't use
c_lex_return_raw_strings.
(cp_lexer_get_preprocessor_token): Update.  Add special case when
lexer is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128479 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/c-lex.c
gcc/c-parser.c
gcc/c-pragma.h
gcc/cp/ChangeLog
gcc/cp/parser.c