repo.c (extract_string): Reset backquote after one character.
authorAdam Nemet <anemet@lnxw.com>
Wed, 25 Aug 2004 07:25:36 +0000 (07:25 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Wed, 25 Aug 2004 07:25:36 +0000 (07:25 +0000)
* repo.c (extract_string): Reset backquote after one character.
(get_base_filename): Fix indentation.

From-SVN: r86538

gcc/cp/ChangeLog
gcc/cp/repo.c

index faebdc08cf4cdc61a16a9bb47fcf94b176957a64..8a23b73db2621db110b97e66c5b9ee055a123dd6 100644 (file)
@@ -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
index b3edf4875fc0e08e87bd91b8a367a7d7a6afe885..8d2774015e134cfecb097bcc3885dcf65f3238f1 100644 (file)
@@ -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;