summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-09-01 06:42:52 -0600
committerEric Blake <ebb9@byu.net>2008-09-01 06:42:52 -0600
commit0052651d855f65a3b22f05a580d9003d616bd260 (patch)
tree6e1fd73ea86a5e16171d87cfa4d96e0e1fb7dbe9
parent1403acf46f9ecac8ad796e8c618f33082667f840 (diff)
downloadm4-0052651d855f65a3b22f05a580d9003d616bd260.tar.gz
Typos in source code comments.
* modules/m4.c: Fix typos in comments. * m4/input.c: Likewise. * src/main.c: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r--ChangeLog7
-rw-r--r--m4/input.c2
-rw-r--r--modules/m4.c9
-rw-r--r--src/main.c2
4 files changed, 14 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 305b51c1..60c35a0b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Typos in source code comments.
+ * modules/m4.c: Fix typos in comments.
+ * m4/input.c: Likewise.
+ * src/main.c: Likewise.
+
2008-08-29 Eric Blake <ebb9@byu.net>
Fix manual date information.
diff --git a/m4/input.c b/m4/input.c
index 71e48a57..1a5fbc58 100644
--- a/m4/input.c
+++ b/m4/input.c
@@ -1469,7 +1469,7 @@ consume_syntax (m4 *context, m4_obstack *obs, unsigned int syntax)
}
-/* Inititialize input stacks. */
+/* Initialize input stacks. */
void
m4_input_init (m4 *context)
{
diff --git a/modules/m4.c b/modules/m4.c
index c46b3af3..0c9a1456 100644
--- a/modules/m4.c
+++ b/modules/m4.c
@@ -651,8 +651,9 @@ M4BUILTIN_HANDLER (changecom)
and "sinclude". This differs from bringing back diversions, in that
the input is scanned before being copied to the output. */
-/* Generic include function. Include the file given by the first argument,
- if it exists. Complain about inaccesible files iff SILENT is false. */
+/* Generic include function. Include the file given by the first
+ argument, if it exists. Complain about inaccessible files iff
+ SILENT is false. */
static void
include (m4 *context, int argc, m4_macro_args *argv, bool silent)
{
@@ -1133,12 +1134,12 @@ M4BUILTIN_HANDLER (translit)
(*(x) = (number) ((unumber) *(x) >> (*(y) & shift_mask)))
-/* The function ntoa () converts VALUE to a signed ascii representation in
+/* The function ntoa () converts VALUE to a signed ASCII representation in
radix RADIX. Radix must be between 2 and 36, inclusive. */
static const char *
ntoa (number value, int radix)
{
- /* Digits for number to ascii conversions. */
+ /* Digits for number to ASCII conversions. */
static char const ntoa_digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
bool negative;
diff --git a/src/main.c b/src/main.c
index ee72381a..0f0b0140 100644
--- a/src/main.c
+++ b/src/main.c
@@ -62,7 +62,7 @@ stackovf_handler (void)
error (EXIT_FAILURE, 0, _("stack overflow (infinite define recursion?)"));
}
-#endif /* USE_STACKOV */
+#endif /* USE_STACKOVF */