summaryrefslogtreecommitdiff
path: root/usr.bin/make/parse.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a graceful jumping off point with a new .error directive.Steve Price1998-05-251-1/+35
| | | | | | | | PR: 6720 Submitted by: Niall Smart <njs3@doc.ic.ac.uk> Notes: svn path=/head/; revision=36347
* Use err(3). Cosmetic in usage string.Philippe Charnier1997-07-241-8/+8
| | | | Notes: svn path=/head/; revision=27644
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=23006
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Add a .POSIX directive. When the first non-commentSteve Price1996-11-031-1/+12
| | | | | | | | | | line of a Makefile contains this directive, make(1) will enter a POSIX 1003.2 compliant mode. Submitted by: Joerg Wunsch <joerg@freebsd.org> Notes: svn path=/head/; revision=19344
* O' to be bitten by CVS. Cleanup after importSteve Price1996-10-081-0/+2
| | | | | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :) Notes: svn path=/head/; revision=18804
* Merge in NetBSD's changes to make(1). Changes include:Steve Price1996-10-061-215/+190
| | | | | | | | | | | | | | | | | | | - Add the .PHONY, .PARALLEL, and .WAIT directives - Added the -B and -m commandline flags - misc. man page cleanups - numerous job-related enhancements - removed unused header file (bit.h) - add util.c for functions not found in other envs. - and a few coordinated whitespace changes Special thanks to Christos Zoulas <christos@netbsd.org> for help in the merge. A 'diff -ur' between Net and FreeBSD now only contains sccsid-related diffs. :) Obtained from: NetBSD, christos@netbsd.org, and me Notes: svn path=/head/; revision=18730
* Fix for PR# 1231, make(1) execution of ``.BEGIN'' doesSteve Price1996-09-251-2/+0
| | | | | | | | | | | | not halt on error. Thanks to Wolfram for reminding me. ;) Also remove a unnecessary test for c == '\n', since the loop (in ParseSkipLine) will not terminate unless c == '\n' || c == EOF, and the EOF case is already explicted handled by a return statement. Notes: svn path=/head/; revision=18492
* Be sure to remove any newlines encountered whenSteve Price1996-09-231-1/+2
| | | | | | | parsing the input file in ParseSkipLine(...). Notes: svn path=/head/; revision=18478
* Fix for PR# 1095, make's continuation line handling buggySteve Price1996-09-221-45/+35
| | | | | | | | | | when used with .elif. Additional fixes include: - fix continuation line handling when using .for - plug up a memory leak Notes: svn path=/head/; revision=18456
* Fixed handling of `!=' assignment. Don't warn if the shell's output isBruce Evans1996-09-121-6/+7
| | | | | | | null, but warn if there was an error reading it. Notes: svn path=/head/; revision=18255
* 'make' prints an extra leading `make: ' and extra trailing newline ifNate Williams1996-07-231-1/+1
| | | | | | | | | | | | | | | | | | there is no target to make. % make make: make: no target to make. % Beause the function Punt() in main.c takes care of leading 'make:' and trailing newline, so, there is no need to pass explicitly. Submitted by: enami@ba2.so-net.or.jp Obtained from: NetBSD GNATS Notes: svn path=/head/; revision=17259
* Back out prev. NetBSD fix, it cause skipping some error constructions,Andrey A. Chernov1995-06-241-5/+3
| | | | | | | don't delete initial space from line instead Notes: svn path=/head/; revision=9298
* Don't make error on ^<spaces>\nAndrey A. Chernov1995-06-241-1/+1
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=9297
* Fix parsing SYSV/GNU "include"Andrey A. Chernov1995-06-181-0/+1
| | | | Notes: svn path=/head/; revision=9255
* NetBSD fixes: declare more prototypes, move .OPTIONAL in alphabetAndrey A. Chernov1995-06-181-1/+3
| | | | | | | | | | | order, prevent suffix rule, if direct or children dependances exists, forget to free v->name in var.c My fixes: fix famous ^\t\n bug, correct free order in str_end Reviewed by: bde Obtained from: NetBSD, me Notes: svn path=/head/; revision=9254
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-68/+68
| | | | Notes: svn path=/head/; revision=8874
* Bring in a number of changes from NetBSD's make, fixing quite a fewJordan K. Hubbard1995-01-231-76/+127
| | | | | | | | | | | | | | | problems in the process: 1. Quoting should work properly now. In particular, Chet's reported bash make problem has gone away. 2. A lot of memory that just wasn't being free'd after use is now freed. This should cause make to take up a LOT less memory when dealing with archive targets. 3. Give proper credit to Adam de Boor in a number of files. Obtained from: NetBSD (and Adam de Boor) Notes: svn path=/head/; revision=5814
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+2566
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590