Fix typos and formatting in comments
authorMagnus Hagander <[email protected]>
Mon, 28 Dec 2020 10:36:28 +0000 (11:36 +0100)
committerMagnus Hagander <[email protected]>
Mon, 28 Dec 2020 10:36:28 +0000 (11:36 +0100)
Author: Justin Pryzby

io.c
lexi.c

diff --git a/io.c b/io.c
index fbaa5dd6817c0d1f4d6d04104c1af1712d67c736..3ce8bfb70c23366ab20f0b8f1183408ff753643e 100644 (file)
--- a/io.c
+++ b/io.c
@@ -452,8 +452,8 @@ fill_buffer(void)
  *
  * ALGORITHM: Put tabs and/or blanks into pobuf, then write pobuf.
  *
- * PARAMETERS: current         integer         The current column target
- * nteger              The desired column
+ * PARAMETERS: current         integer         The current column
+ *             target          integer         The desired column
  *
  * RETURNS: Integer value of the new column.  (If current >= target, no action is
  * taken, and current is returned.
diff --git a/lexi.c b/lexi.c
index d43723cea6875ccc0421b27c0bf19f13ea0d8c62..f01596a87089924a33f4035f0abb45dd17c006f5 100644 (file)
--- a/lexi.c
+++ b/lexi.c
@@ -442,7 +442,7 @@ lexi(struct parser_state *state)
                                         * then following sign is unary */
            state->last_u_d = true;     /* will make "int a -1" work */
        return (ident);         /* the ident is not in the list */
-    }                          /* end of procesing for alpanum character */
+    }                          /* end of processing for alphanum character */
 
     /* Scan a non-alphanumeric token */