diff options
author | eivind <eivind@FreeBSD.org> | 1998-02-18 04:15:04 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-02-18 04:15:04 +0000 |
commit | 6c500cca36cd8b42d90b9b5df1144ad9171cd977 (patch) | |
tree | efa70db94c5ee708399755b993700ddb78e1ec3f /usr.sbin/config/config.y | |
parent | fb3f84b8bf589c9ebeb77f8ab1a1caf40db52e5d (diff) | |
download | FreeBSD-src-6c500cca36cd8b42d90b9b5df1144ad9171cd977.zip FreeBSD-src-6c500cca36cd8b42d90b9b5df1144ad9171cd977.tar.gz |
Make '-n' the default, and introduce a new flag '-r' to get old
behaviour. Also indicate which option(s) are unknown if there are any
old-style options.
Diffstat (limited to 'usr.sbin/config/config.y')
-rw-r--r-- | usr.sbin/config/config.y | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y index 268f6bc..6a46c58 100644 --- a/usr.sbin/config/config.y +++ b/usr.sbin/config/config.y @@ -404,6 +404,7 @@ Option: op->op_name = $1; op->op_next = opt; op->op_value = 0; + op->op_line = yyline; opt = op; if ((s = strchr(op->op_name, '='))) { /* AARGH!!!! Old-style bogon */ @@ -418,6 +419,7 @@ Option: op->op_name = $1; op->op_next = opt; op->op_value = $3; + op->op_line = yyline; opt = op; } ; @@ -452,6 +454,7 @@ Mkoption: op->op_ownfile = 0; /* for now */ op->op_next = mkopt; op->op_value = $3; + op->op_line = yyline; mkopt = op; } ; |