diff options
author | Jakub Jelinek <jakub@redhat.com> | 2000-05-02 18:33:44 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2000-05-02 18:33:44 +0200 |
commit | 9900f597fa923f84cb0bc44d7383c79e6aed543b (patch) | |
tree | eb5485cc17fcae1c0be5c73c073a5072abd2e176 /gcc/cpphash.c | |
parent | c56c2073a6268960931acd0b852b6186d4bde179 (diff) | |
download | gcc-9900f597fa923f84cb0bc44d7383c79e6aed543b.tar.gz |
cpphash.c (trad_stringify): Adjust p after stringification as well.
* cpphash.c (trad_stringify): Adjust p after stringification as
well.
* gcc.dg/cpp-tradstringify.c: New test.
From-SVN: r33612
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r-- | gcc/cpphash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c index 6ad8350a69f..3fcd006962b 100644 --- a/gcc/cpphash.c +++ b/gcc/cpphash.c @@ -433,6 +433,7 @@ trad_stringify (pfile, base, len, argc, argv, pat, endpat, last) argv[i].rest_arg); last = CPP_WRITTEN (pfile); base = p + argv[i].len; + p = base; goto proceed; } p++; |