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

Hartmut Brandt harti at FreeBSD.org
Fri Mar 11 03:29:40 PST 2005


harti       2005-03-11 11:29:39 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         parse.c 
  Log:
  Call ParseFinishLine() also for the last line in a file. This
  patch differs from the previous one in that it calls the function
  only when a real file hits EOF. The bodies of .for loops are also
  handled as files, but for these we don't want to end a dependency block
  on the 'EOF' as in:
  
  foo:
          do-this
  .for ...
          do-something
  .endfor
          do-more
  
  Revision  Changes    Path
  1.84      +3 -0      src/usr.bin/make/parse.c


More information about the cvs-src mailing list