summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/for.h
Commit message (Collapse)AuthorAgeFilesLines
* Move the Boolean and ReturnStatus stuff from sprite.h to util.h andharti2005-05-131-1/+1
| | | | | | get rid of sprite.h. Obtained from: DragonFlyBSD
* Rework the directive parsing code. Instead of using a lot of strcmp()sharti2005-04-111-1/+4
| | | | | | | | | | | | on every line that starts with a dot use a minimal perfect hash function and a single strcmp() on the first word after the dot to find out whether it is really a directive call and, if yes, which one. Then directly dispatch to a handler function for that directive (or fall through to the dependency handling code). This makes the directive parse a little bit more strict about the syntax: the directive word must be followed by a character that is not alphanumerical and not an underline (making .undefFOO illegal); .endif and .else can only be followed by comments.
* Clean up include files and file including. Split nonints.h into piecesharti2005-02-011-0/+47
that get included just where they are needed. All headers include the headers that they need to compile (just with an empty .c file). Sort includes alphabetically where apropriate and fix some duplicate commenting for struct Job, struct GNode and struct Shell by removing one version and inlining the comments into the structure declaration (the comments have been somewhat outdated). This patch does not contain functional changes (checked with md5). Submitted by: Max Okumoto <okumoto@ucsd.edu>
OpenPOWER on IntegriCloud