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

Hartmut Brandt harti at FreeBSD.org
Tue Jul 20 00:42:07 PDT 2004


harti       2004-07-20 07:42:07 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         cond.c make.h parse.c 
  Log:
  Improve make's diagnostic of mistmatched .if-.endif. This patch is
  slightly different from the patch in the PR. The problem is, that
  make handles .if clauses inside false .if clauses simply by
  counting them - it doesn't put them onto the conditional stack, nor even
  parses them so we need an extra line number stack for these ifs.
  
  PR:             bin/61257
  Submitted by:   Mikhail Teterin <mi at aldan.algebra.com>
  
  Revision  Changes    Path
  1.28      +21 -2     src/usr.bin/make/cond.c
  1.24      +16 -0     src/usr.bin/make/make.h
  1.56      +1 -15     src/usr.bin/make/parse.c


More information about the cvs-all mailing list