diff options
author | Paul Smith <psmith@gnu.org> | 2005-06-25 21:30:13 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2005-06-25 21:30:13 +0000 |
commit | 562240569082f5f27acc29d92add4d5b2174a87a (patch) | |
tree | 407efa2f97b6dfb472fb96396d6fa73892f38a97 /misc.c | |
parent | 1cbb15f2545882ded5df14363ad289383d9c66ff (diff) | |
download | make-562240569082f5f27acc29d92add4d5b2174a87a.tar.gz |
Fix Savannah bug #1454: skip over semicolons (and comments) inside variable
references in target definition lines.
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -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). */ |