DragonFly BSD
DragonFly commits List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.bin/make

From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Dec 2004 07:17:28 -0800 (PST)

joerg       2004/12/01 07:17:28 PST

DragonFly src repository

  Modified files:
    usr.bin/make         cond.c make.h parse.c 
  Author: harti
  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@xxxxxxxxxxxxxxxxx>
  uthor: harti
  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)
  Obtained-from: FreeBSD
  Submitted-by: Max Okumoto <okumoto@xxxxxxxx>
  Revision  Changes    Path
  1.12      +21 -2     src/usr.bin/make/cond.c
  1.12      +16 -0     src/usr.bin/make/make.h
  1.18      +8 -15     src/usr.bin/make/parse.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]