From 4f5117aaa411d7fae8b7133a3089ae8e3e158d07 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 23 Mar 2022 18:30:09 -0700 Subject: get rid of header. cppawk internally defines __cppawk_ver now. --- cppawk.1 | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'cppawk.1') diff --git a/cppawk.1 b/cppawk.1 index 98a16f5..62ecd46 100644 --- a/cppawk.1 +++ b/cppawk.1 @@ -40,15 +40,6 @@ executed as .B awk code. -When -.B cppawk -installation is configured to use GNU Awk, which is the default, the -preprocessor symbol -.BI __gawk__ -is predefined with a value of 1. See the -.BI --awk -option. - .SH OPTIONS Any option not described here is assumed to be an Awk option which takes no argument, and is consequently passed through to the @@ -131,17 +122,30 @@ Options which match these patterns are passed to the program instead of .BR awk . +.SH PREDEFINED SYMBOLS +.IP \fB__gawk__\fR +When +.B cppawk +installation is configured to use GNU Awk, which is the default, the +preprocessor symbol +.BI __gawk__ +is predefined with a value of 1. See the +.BI --awk +option. + +.IP \fB__cppawk_ver\fR +This preprocessor symbol gives the version of +.BR cppawk . +Its value is a is an eight digit decimal integer the form +.IR YYYYMMDD , +such as 20220321. + .SH STANDARD HEADERS .B cppawk points the preprocessor to look for .BI "#include <...>" -files in its own directory. The -.BI "" -header defines a preprocessor symbol -.BI __cppawk_ver -whose value is a decimal integer the form -.IR YYYYMMDD , -such as 20220318. +files in its own directory. There are currently no files +in this directory. .SH EXAMPLES Print the larger of field 1 or 2: -- cgit v1.2.3