Skip to content
Snippets Groups Projects
Commit 6154f4fd authored by Adam Nemet's avatar Adam Nemet Committed by Adam Nemet
Browse files

repo.c (extract_string): Reset backquote after one character.

	* repo.c (extract_string): Reset backquote after one character.
	(get_base_filename): Fix indentation.

From-SVN: r86538
parent 51a904c9
No related branches found
No related tags found
No related merge requests found
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> 2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
* cp/decl.c (cxx_init_decl_processing): Adjust * cp/decl.c (cxx_init_decl_processing): Adjust
......
...@@ -68,7 +68,10 @@ extract_string (char **pp) ...@@ -68,7 +68,10 @@ extract_string (char **pp)
break; break;
++p; ++p;
if (backquote) if (backquote)
obstack_1grow (&temporary_obstack, c); {
obstack_1grow (&temporary_obstack, c);
backquote = 0;
}
else if (! inside && c == ' ') else if (! inside && c == ' ')
break; break;
else if (! inside && c == '\\') else if (! inside && c == '\\')
...@@ -99,7 +102,7 @@ get_base_filename (const char *filename) ...@@ -99,7 +102,7 @@ get_base_filename (const char *filename)
output = extract_string (&p); output = extract_string (&p);
else if (strcmp (q, "-c") == 0) else if (strcmp (q, "-c") == 0)
compiling = 1; compiling = 1;
} }
if (compiling && output) if (compiling && output)
return output; return output;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment