cvs commit: src/usr.bin/make parse.c

Hartmut Brandt harti at FreeBSD.org
Thu Jul 22 04:12:02 PDT 2004


harti       2004-07-22 11:12:01 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         parse.c 
  Log:
  Fix handling of comments on .elif lines. The patch given in a followup
  to the PR failed, because the line skipping function is actually called
  from two places in the code to do quite different things (this should
  be two functions probably): in a false .if to skip to the next line
  beginning with a dot and to collect .for loops. In the seconds case we
  should not skip comments, because they are actually harder to handle than
  we need for the .if case and should defer this to the main code.
  
  PR:             bin/25627
  Submitted by:   Seth Kingsley (original patch)
  
  Revision  Changes    Path
  1.57      +7 -0      src/usr.bin/make/parse.c


More information about the cvs-src mailing list