summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2020-12-28 10:36:28 +0000
committerMagnus Hagander2020-12-28 10:36:28 +0000
commitd301442799cea44e5ccb04331afc537764ec77c5 (patch)
treefae28af28ee90601ef95e8295f205d9b875567df
parentacb2f0a7f3689805b954ea19a927b5021fc69409 (diff)
Fix typos and formatting in comments
Author: Justin Pryzby
-rw-r--r--io.c4
-rw-r--r--lexi.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index fbaa5dd..3ce8bfb 100644
--- 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 d43723c..f01596a 100644
--- 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 */