From 8dc815f53f91b019ab7ccc165df1373e467df352 Mon Sep 17 00:00:00 2001 From: Kugel Fuhr <98353208+kugelfuhr@users.noreply.github.com> Date: Sun, 6 Jul 2025 21:07:34 +0200 Subject: [PATCH] Fixed typos in comments. --- src/ca65/nexttok.c | 6 +++--- src/ca65/nexttok.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ca65/nexttok.c b/src/ca65/nexttok.c index 08e9eda81..36cb9def1 100644 --- a/src/ca65/nexttok.c +++ b/src/ca65/nexttok.c @@ -728,7 +728,7 @@ void NextTok (void) void ErrorExpect (const char* Msg) /* Output an error message about some expected token using Msg and the * description of the following token. This means that Msg should contain - * something like "xyz expected". The actual error message would the be + * something like "xyz expected". The actual error message would then be * "xyz expected but found zyx". */ { @@ -744,7 +744,7 @@ int Expect (token_t Expected, const char* Msg) /* Check if the next token is the expected one. If not, print Msg plus some * information about the token that was actually found. This means that Msg * should contain something like "xyz expected". The actual error message would - * the be "xyz expected but found zyx". + * then be "xyz expected but found zyx". * Returns true if the token was found, otherwise false. */ { @@ -762,7 +762,7 @@ int ExpectSkip (token_t Expected, const char* Msg) /* Check if the next token is the expected one. If not, print Msg plus some * information about the token that was actually found and skip the remainder * of the line. This means that Msg should contain something like "xyz - * expected". The actual error message would the be "xyz expected but found + * expected". The actual error message would then be "xyz expected but found * zyx". * Returns true if the token was found, otherwise false. */ diff --git a/src/ca65/nexttok.h b/src/ca65/nexttok.h index 4f4975dd8..3902db518 100644 --- a/src/ca65/nexttok.h +++ b/src/ca65/nexttok.h @@ -54,7 +54,7 @@ void NextTok (void); void ErrorExpect (const char* Msg); /* Output an error message about some expected token using Msg and the * description of the following token. This means that Msg should contain - * something like "xyz expected". The actual error message would the be + * something like "xyz expected". The actual error message would then be * "xyz expected but found zyx". */ @@ -62,7 +62,7 @@ int Expect (token_t Expected, const char* Msg); /* Check if the next token is the expected one. If not, print Msg plus some * information about the token that was actually found. This means that Msg * should contain something like "xyz expected". The actual error message would - * the be "xyz expected but found zyx". + * then be "xyz expected but found zyx". * Returns true if the token was found, otherwise false. */ @@ -70,7 +70,7 @@ int ExpectSkip (token_t Expected, const char* Msg); /* Check if the next token is the expected one. If not, print Msg plus some * information about the token that was actually found and skip the remainder * of the line. This means that Msg should contain something like "xyz - * expected". The actual error message would the be "xyz expected but found + * expected". The actual error message would then be "xyz expected but found * zyx". * Returns true if the token was found, otherwise false. */