From 6cdaff0948bbec3220d5cb071f79d5f2e1c9b083 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 25 Jun 2005 21:30:13 +0000 Subject: Fix Savannah bug #1454: skip over semicolons (and comments) inside variable references in target definition lines. --- misc.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'misc.c') diff --git a/misc.c b/misc.c index 995fd20..ac50270 100644 --- a/misc.c +++ b/misc.c @@ -149,22 +149,6 @@ collapse_continuations (char *line) *out = '\0'; } - - -/* Remove comments from LINE. - This is done by copying the text at LINE onto itself. */ - -void -remove_comments (char *line) -{ - char *comment; - - comment = find_char_unquote (line, '#', 0, 0); - - if (comment != 0) - /* Cut off the line at the #. */ - *comment = '\0'; -} /* Print N spaces (used in debug for target-depth). */ -- cgit v1.2.3