Parent Directory | Revision Log | Patch
revision 1.65 by psmith, Sun Jun 12 22:22:07 2005 UTC | revision 1.66 by psmith, Sat Jun 25 21:30:13 2005 UTC | |
---|---|---|
# | Line 149 collapse_continuations (char *line) | Line 149 collapse_continuations (char *line) |
149 | ||
150 | *out = '\0'; | *out = '\0'; |
151 | } | } |
/* 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'; | ||
} | ||
152 | ||
153 | /* Print N spaces (used in debug for target-depth). */ | /* Print N spaces (used in debug for target-depth). */ |
154 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |