[multiple changes]
authorZack Weinberg <zack@gcc.gnu.org>
Mon, 31 Jul 2000 23:47:19 +0000 (23:47 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 31 Jul 2000 23:47:19 +0000 (23:47 +0000)
commit6ead1e9971df29c9e71b19d3f2faae33c78e13e0
tree09f352803e0788fc35ed3daa9f4930ebd0f0d29b
parented39843b4149642ce7cabec509db61ef46e34b70
[multiple changes]

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.

From-SVN: r35394
gcc/ChangeLog
gcc/cpplex.c
gcc/cppmacro.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/paste7.c [new file with mode: 0644]