diff options
| author | ws <ws@NetBSD.org> | 1995-05-15 13:10:10 +0000 |
|---|---|---|
| committer | ws <ws@NetBSD.org> | 1995-05-15 13:10:10 +0000 |
| commit | de7fa9654cffb08fb2f86a33d5d555c6fdbc5912 (patch) | |
| tree | 8f50992d9fc2a4cf5b977577bc1e4ccff24f2209 /usr.bin/make/parse.c | |
| parent | b5f33fc18e79c9985d367a34722e603656b97964 (diff) | |
Sort keyword table correctly, so binary search really works
Diffstat (limited to 'usr.bin/make/parse.c')
| -rw-r--r-- | usr.bin/make/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 0927fbb61fc..cd868ef6207 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -38,7 +38,7 @@ #ifndef lint /* from: static char sccsid[] = "@(#)parse.c 5.18 (Berkeley) 2/19/91"; */ -static char *rcsid = "$Id: parse.c,v 1.13 1995/02/08 04:36:41 christos Exp $"; +static char *rcsid = "$Id: parse.c,v 1.14 1995/05/15 13:10:10 ws Exp $"; #endif /* not lint */ /*- @@ -194,7 +194,6 @@ static struct { } parseKeywords[] = { { ".BEGIN", Begin, 0 }, { ".DEFAULT", Default, 0 }, -{ ".OPTIONAL", Attribute, OP_OPTIONAL }, { ".END", End, 0 }, { ".EXEC", Attribute, OP_EXEC }, { ".IGNORE", Ignore, OP_IGNORE }, @@ -210,6 +209,7 @@ static struct { { ".NOTMAIN", Attribute, OP_NOTMAIN }, { ".NOTPARALLEL", NotParallel, 0 }, { ".NULL", Null, 0 }, +{ ".OPTIONAL", Attribute, OP_OPTIONAL }, { ".ORDER", Order, 0 }, { ".PATH", ExPath, 0 }, { ".PRECIOUS", Precious, OP_PRECIOUS }, |
