OSDN Git Service

1999-04-12 14:55 -0400 Zack Weinberg <zack@rabi.columbia.edu>
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Apr 1999 12:03:10 +0000 (12:03 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Apr 1999 12:03:10 +0000 (12:03 +0000)
commitb8f0cc2d96769bbe14fba8469cf4a669b2fcdd2a
tree2e0d76a1e5b4079159764fc03161a906466d6b74
parent6e4a6ed9e8538b1ca3c7a63502f587110fb7a858
1999-04-12 14:55 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
* cpphash.c (collect_expansion, macroexpand,
push_macro_expansion): Make the escape character in macro
buffers '\r', not '@'.  Remove code to protect literal
occurences of the escape character; '\r' cannot appear
in a macro buffer unless we put it there.
* cpplib.c (skip_comment, copy_comment, cpp_skip_hspace,
copy_rest_of_line, cpp_get_token, parse_string,
parse_assertion): '\r' might be a backslash-newline marker, or
it might be a macro escape marker, depending on
CPP_BUFFER (pfile)->has_escapes.  '@' is not a special
character.
* cpplib.h: Update commentary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26371 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpphash.c
gcc/cpplib.c
gcc/cpplib.h