OSDN Git Service

libcpp
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Jan 2008 17:23:40 +0000 (17:23 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Jan 2008 17:23:40 +0000 (17:23 +0000)
commit7a1a608c6cb1ff69ef524fcea5612ff8d7c20350
treeaf95efa577b60bab897bc59c18fc2148c61eb432
parentb041d14713572ad7f62b04ea5c8d2a03b63920eb
libcpp
2008-01-07  Fred Fish  <fnf@specifix.com>
PR preprocessor/30363:
* traditional.c (replace_args_and_push): Add local variable
cxtquote, calculate the replacement text size assuming a
worst case of every input character quoted with backslash,
and properly handle output quoting of quote characters in
actual arguments used in function-like macros.
gcc/testsuite
2008-01-07  Fred Fish  <fnf@specifix.com>
PR preprocessor/30363:
* gcc.dg/cpp/trad/macroargs.c: Add code to test quoting in
macro expansions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131379 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/trad/macroargs.c
libcpp/ChangeLog
libcpp/traditional.c