c-pragma.h (c_lex_string_translate): Change type to int.
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 15 Jun 2004 21:43:21 +0000 (21:43 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 15 Jun 2004 21:43:21 +0000 (21:43 +0000)
commit0173bb6f2d715c4c3839c17e26a38bd522e07fa4
tree67706b17f5cedee1c188770ea57183755dfc2428
parentd0b25f9a2b786f80b5a794f99732b7653afb1ec4
c-pragma.h (c_lex_string_translate): Change type to int.

gcc/ChangeLog:
* c-pragma.h (c_lex_string_translate): Change type to int.
* c-parse.in: Change all assignments of c_lex_string_translate
to true and false to 1 and 0.
* c-lex.c (c_lex_string_translate): Likewise.
(lex_string): Convert string without translation in the -1
case.
gcc/cp/ChangeLog:
* parser.c: Change all assignments of c_lex_string_translate
to true and false to 1 and 0.
(cp_lexer_read_token): Convert type of the translated string.
(cp_parser_skip_to_closing_parentheses): Preserve original
value of c_lex_string_translate, and set it to -1 while
running.
(cp_parser_cache_group): Likewise.
(cp_parser_cache_group_1): Renamed.
(cp_parser_asm_operand_list): Remove redundant setting of
c_lex_string_translate.
(cp_parser_primary_expression) [CPP_STRING, CPP_WSTRING]:
Handle chained strings.

From-SVN: r83201
gcc/ChangeLog
gcc/c-lex.c
gcc/c-parse.in
gcc/c-pragma.h
gcc/cp/ChangeLog
gcc/cp/parser.c