Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2004 13:51:06 -0800 (PST)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/make for.c nonints.h parse.c
Message-ID:  <200403102151.i2ALp7O9083406@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ru          2004/03/10 13:51:06 PST

  FreeBSD src repository

  Modified files:
    usr.bin/make         for.c nonints.h parse.c 
  Log:
  Reworked the fix to print the useful line number on error in
  the .for loop:
  
  - Replaced four global variables in parse.c with one.
  - Made Parse_FromString() accept the "lineno" as an argument.
  - Fixed line numbering when there are escaped newlines in the
    body of the .for loop.
  
  Adopted from:   NetBSD
  
  Revision  Changes    Path
  1.21      +4 -2      src/usr.bin/make/for.c
  1.20      +2 -2      src/usr.bin/make/nonints.h
  1.53      +73 -85    src/usr.bin/make/parse.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403102151.i2ALp7O9083406>