diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/repo.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index faebdc0..8a23b73 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2004-08-25 Adam Nemet <anemet@lnxw.com> + + * repo.c (extract_string): Reset backquote after one character. + (get_base_filename): Fix indentation. + 2004-08-24 Nathan Sidwell <nathan@codesourcery.com> * cp/decl.c (cxx_init_decl_processing): Adjust diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c index b3edf48..8d27740 100644 --- a/gcc/cp/repo.c +++ b/gcc/cp/repo.c @@ -68,7 +68,10 @@ extract_string (char **pp) break; ++p; if (backquote) - obstack_1grow (&temporary_obstack, c); + { + obstack_1grow (&temporary_obstack, c); + backquote = 0; + } else if (! inside && c == ' ') break; else if (! inside && c == '\\') @@ -99,7 +102,7 @@ get_base_filename (const char *filename) output = extract_string (&p); else if (strcmp (q, "-c") == 0) compiling = 1; - } + } if (compiling && output) return output; |