tradcpp.c (do_define): Make sure we don't walk past limit.
authorJakub Jelinek <jakub@redhat.com>
Wed, 2 May 2001 20:50:01 +0000 (22:50 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 2 May 2001 20:50:01 +0000 (22:50 +0200)
commit2d2a86ae7990763ce93c342c8557cfec515f7003
tree66595ad86dd1a7d6ab653b86a3f4901345e718a5
parent258bfae2f7ab7b1c369fe3343a1132f16396072b
tradcpp.c (do_define): Make sure we don't walk past limit.

* tradcpp.c (do_define): Make sure we don't walk past limit.

* gcc.dg/cpp/tr-define.c: New test.

From-SVN: r41773
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/tr-define.c [new file with mode: 0644]
gcc/tradcpp.c