diff options
author | fanf <fanf@FreeBSD.org> | 2010-02-19 16:54:51 +0000 |
---|---|---|
committer | fanf <fanf@FreeBSD.org> | 2010-02-19 16:54:51 +0000 |
commit | 94f94d90e4d4ea34b9d57a70bf83b7d8d6c11e2a (patch) | |
tree | da21a7e31137211d9110cdf9a78bd6c11a818581 /usr.bin/unifdef/unifdef.1 | |
parent | 564efe918f4646894fcb8e37a93ce3f2c58c7fe9 (diff) | |
download | FreeBSD-src-94f94d90e4d4ea34b9d57a70bf83b7d8d6c11e2a.zip FreeBSD-src-94f94d90e4d4ea34b9d57a70bf83b7d8d6c11e2a.tar.gz |
Update to upstream version 1.338
Fix a long-standing cpp compatibility bug: The -DFOO argument
(without an explicit value) should define FOO to 1 not to the empty
string.
Add support for CRLF newlines, based on a suggestion from Mark Rushakoff.
Obtained from: http://dotat.at/prog/unifdef/
Diffstat (limited to 'usr.bin/unifdef/unifdef.1')
-rw-r--r-- | usr.bin/unifdef/unifdef.1 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/usr.bin/unifdef/unifdef.1 b/usr.bin/unifdef/unifdef.1 index 2e75f0a..da7cde8 100644 --- a/usr.bin/unifdef/unifdef.1 +++ b/usr.bin/unifdef/unifdef.1 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)unifdef.1 8.2 (Berkeley) 4/1/94 -.\" $dotat: unifdef/unifdef.1,v 1.62 2010/01/19 17:33:53 fanf2 Exp $ +.\" $dotat: unifdef/unifdef.1,v 1.63 2010/02/19 16:41:15 fanf2 Exp $ .\" $FreeBSD$ .\" .Dd January 19, 2010 @@ -168,14 +168,16 @@ with appropriate arguments to process the file. .Sh OPTIONS .Pp .Bl -tag -width indent -compact -.It Fl D Ns Ar sym Ns Op = Ns Ar val -Specify that a symbol is defined, -and optionally specify what value to give it -for the purpose of handling +.It Fl D Ns Ar sym Ns = Ns Ar val +Specify that a symbol is defined to a given value +which is used when evaluating .Ic #if and .Ic #elif -directives. +control expressions. +.Pp +.It Fl D Ns Ar sym +Specify that a symbol is defined to the value 1. .Pp .It Fl U Ns Ar sym Specify that a symbol is undefined. |