History

20090418-1138

Charles.Forsyth committed 17 years ago

Commit f0bfc0d1 parent cef63c52 files · +22 −7Browse files

Unified · Split

2 files
  1. include/version.h +1 −1
  2. man/1/m4 +21 −6
include/version.h+1−1
@@ -1 +1 @@
1#define VERSION "Fourth Edition (20090320)"1#define VERSION "Fourth Edition (20090418)"
man/1/m4+21−6
@@ -31,9 +31,20 @@ A comma within a nested parenthesis is part of an argument value, not an argumen · 30 unmodified lines
31Potential macro names consist of alphabetic letters, Unicode characters,31Potential macro names consist of alphabetic letters, Unicode characters,
32digits, and underscore `\_', where the first character is not a digit.32digits, and underscore `\_', where the first character is not a digit.
33.PP33.PP
34The left and right single quotes(ie, grave and acute accents \`\|\' ) are used to quote strings.34Comments begin with the
35.B #
36character and extend to the end of that line; the characters in a comment are copied to the current
37output stream unchanged.
38The comment start and end sequences may be changed using the
39.B changecom
40call described below.
41.PP
42The left and right single quotes (ie, grave and acute accents \`\|\' ) are used to quote strings.
35Because the left and right quotes are distinct, quoted strings may nest.43Because the left and right quotes are distinct, quoted strings may nest.
36The value of a quoted string is the string stripped of the outermost quotes.44The value of a quoted string is the string stripped of the outermost quotes.
45The left and right quote characters may be changed using the
46.B changequote
47call described below.
37.PP48.PP
38When49When
39.I m450.I m4
@@ -80,9 +91,10 @@ is replaced by the · 40 unmodified lines
80argument of that macro call.91argument of that macro call.
81Argument 0 is the name of the macro;92Argument 0 is the name of the macro;
82missing arguments are replaced by the null string.93missing arguments are replaced by the null string.
83If the macro value is the same as its name, or the value is simply94If the macro value is the same as its name, or the value is
84.BR $0 ,95.BR $0 ,
85the result is the macro name.96the result is the macro name.
97To prevent expansion of a name when redefining a macro, quote the first argument.
86.TP98.TP
87divert99divert
88.I M4100.I M4
@@ -113,7 +125,9 @@ Prints its argument · 24 unmodified lines
113on the diagnostic output file.125on the diagnostic output file.
114.TP126.TP
115eval127eval
116Evaluates its argument as an arithmetic expression, using 32-bit arithmetic.128Evaluates its argument as an arithmetic expression, using 32-bit arithmetic,
129and returns the result as a signed decimal integer.
130The only literals are decimal integers.
117Operators are those of Limbo: the binary operators131Operators are those of Limbo: the binary operators
118.BR || ,132.BR || ,
119.BR && ,133.BR && ,
@@ -133,7 +147,7 @@ the unary operators · 13 unmodified lines
133.BR ~ ,147.BR ~ ,
134.BR ! ;148.BR ! ;
135and parenthesis.149and parenthesis.
136The operator precedence is the same as in Limbo.150Operator precedence is the same as in Limbo.
137Right shifts are signed.151Right shifts are signed.
138.TP152.TP
139ifdef153ifdef
@@ -226,8 +240,9 @@ the given macro · 86 unmodified lines
226which may be one of the predefined macros.240which may be one of the predefined macros.
227.PP241.PP
228.I M4242.I M4
229in Inferno is more closely related to the original version in Seventh Edition UNIX243in Inferno is more closely related to the original
230than the more elaborate relatives in System V and POSIX.244.I m4
245in Seventh Edition UNIX than its more elaborate relatives in System V and POSIX.
231.SH "SEE ALSO"246.SH "SEE ALSO"
232B. W. Kernighan and D. M. Ritchie,247B. W. Kernighan and D. M. Ritchie,
233.I The M4 Macro Processor248.I The M4 Macro Processor