2000-07-31 Jakub Jelinek <jakub@redhat.com>
commitc2cce4244f8a809a4d62de91c73a16448d491d0a
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jul 2000 23:47:19 +0000 (31 23:47 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jul 2000 23:47:19 +0000 (31 23:47 +0000)
tree09f352803e0788fc35ed3daa9f4930ebd0f0d29b
parent509f4458814df1933978392312ba5e6cd7daa44e
2000-07-31  Jakub Jelinek  <jakub@redhat.com>

* cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
(_cpp_get_token): Don't macro expand a just pasted token if it
was pasted at no_expand_level.

* testsuite/gcc.dg/cpp/paste7.c: New test.

2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>

* cppmacro.c (find_param, count_params, save_expansion):
Permit 'defined' as a macro parameter name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35394 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpplex.c
gcc/cppmacro.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/paste7.c [new file with mode: 0644]