summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-12-12 07:42:32 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-12-12 07:42:32 +0200
commit769d7886cceec048dcd4aa67236b5971891418c3 (patch)
treee88daa3a94cea72240489eafb975cb0d75cd641f
parent4518d0d3c80d8c616a8a7f65548fde4866495289 (diff)
downloadgawk-769d7886cceec048dcd4aa67236b5971891418c3.tar.gz
Small doc fix.
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/gawk.info2
-rw-r--r--doc/gawk.texi2
-rw-r--r--doc/gawktexi.in2
4 files changed, 8 insertions, 3 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 0a52dfbe..ede811ef 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-12 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in: Minor fix.
+ Thanks to Teri Price <tjp212@lehigh.edu>.
+
2014-12-10 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: More minor fixes.
diff --git a/doc/gawk.info b/doc/gawk.info
index fe080ce1..d6fccecd 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -11850,7 +11850,7 @@ undefined. Thus, avoid writing programs that assume that parameters
are evaluated from left to right or from right to left. For example:
i = 5
- j = atan2(i++, i *= 2)
+ j = atan2(++i, i *= 2)
If the order of evaluation is left to right, then `i' first becomes
6, and then 12, and `atan2()' is called with the two arguments 6 and
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 03f8bd48..3e6fb5d6 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -16989,7 +16989,7 @@ right to left. For example:
@example
i = 5
-j = atan2(i++, i *= 2)
+j = atan2(++i, i *= 2)
@end example
If the order of evaluation is left to right, then @code{i} first becomes
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 53b24f37..61575e42 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -16272,7 +16272,7 @@ right to left. For example:
@example
i = 5
-j = atan2(i++, i *= 2)
+j = atan2(++i, i *= 2)
@end example
If the order of evaluation is left to right, then @code{i} first becomes