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
3131 Potential macro names consist of alphabetic letters, Unicode characters,
3232 digits, and underscore `\_', where the first character is not a digit.
3333 .PP
34−The left and right single quotes(ie, grave and acute accents \`\|\' ) are used to quote strings.
34+Comments begin with the
35+.B #
36+character and extend to the end of that line; the characters in a comment are copied to the current
37+output stream unchanged.
38+The comment start and end sequences may be changed using the
39+.B changecom
40+call described below.
41+.PP
42+The left and right single quotes (ie, grave and acute accents \`\|\' ) are used to quote strings.
3543 Because the left and right quotes are distinct, quoted strings may nest.
3644 The value of a quoted string is the string stripped of the outermost quotes.
45+The left and right quote characters may be changed using the
46+.B changequote
47+call described below.
3748 .PP
3849 When
3950 .I m4
@@ -80,9 +91,10 @@ is replaced by the · 40 unmodified lines
8091 argument of that macro call.
8192 Argument 0 is the name of the macro;
8293 missing arguments are replaced by the null string.
83−If the macro value is the same as its name, or the value is simply
94+If the macro value is the same as its name, or the value is
8495 .BR $0 ,
8596 the result is the macro name.
97+To prevent expansion of a name when redefining a macro, quote the first argument.
8698 .TP
8799 divert
88100 .I M4
@@ -113,7 +125,9 @@ Prints its argument · 24 unmodified lines
113125 on the diagnostic output file.
114126 .TP
115127 eval
116−Evaluates its argument as an arithmetic expression, using 32-bit arithmetic.
128+Evaluates its argument as an arithmetic expression, using 32-bit arithmetic,
129+and returns the result as a signed decimal integer.
130+The only literals are decimal integers.
117131 Operators are those of Limbo: the binary operators
118132 .BR || ,
119133 .BR && ,
@@ -133,7 +147,7 @@ the unary operators · 13 unmodified lines
133147 .BR ~ ,
134148 .BR ! ;
135149 and parenthesis.
136−The operator precedence is the same as in Limbo.
150+Operator precedence is the same as in Limbo.
137151 Right shifts are signed.
138152 .TP
139153 ifdef
@@ -226,8 +240,9 @@ the given macro · 86 unmodified lines
226240 which may be one of the predefined macros.
227241 .PP
228242 .I M4
229−in Inferno is more closely related to the original version in Seventh Edition UNIX
230−than the more elaborate relatives in System V and POSIX.
243+in Inferno is more closely related to the original
244+.I m4
245+in Seventh Edition UNIX than its more elaborate relatives in System V and POSIX.
231246 .SH "SEE ALSO"
232247 B. W. Kernighan and D. M. Ritchie,
233248 .I The M4 Macro Processor