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

Max Okumoto okumoto at crater.dragonflybsd.org
Sat Mar 12 03:05:22 PST 2005


okumoto     2005/03/12 03:04:47 PST

DragonFly 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
  
  FreeBSD-Date: 2005/03/11 11:29:39
  Author: harti
  
  Revision  Changes    Path
  1.52      +3 -0      src/usr.bin/make/parse.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/parse.c.diff?r1=1.51&r2=1.52&f=u





More information about the Commits mailing list