/[make]/make/misc.c
ViewVC logotype

Diff of /make/misc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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    

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26