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 | 6cdaff0948bbec3220d5cb071f79d5f2e1c9b083 (patch) | |
tree | 407efa2f97b6dfb472fb96396d6fa73892f38a97 /misc.c | |
parent | 1dd9ed1c0537cb2583e1de8367994560ad1470aa (diff) | |
download | gunmake-6cdaff0948bbec3220d5cb071f79d5f2e1c9b083.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). */ |