From 085e029f08c9b0b57632703df565efdbe2cd0c7f Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Fri, 22 Nov 2024 15:33:12 +0200 Subject: [PATCH] fix typos in comments --- tcctools.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcctools.c b/tcctools.c index ee77487c9..0f7acef7c 100644 --- a/tcctools.c +++ b/tcctools.c @@ -498,7 +498,7 @@ ST_FUNC int tcc_tool_cross(TCCState *s1, char **argv, int option) #include /* - Empty argument or with space/tab (not newline) requires quoting. - * - Double-quotes at the value require '\'-escape, retardless of quoting. + * - Double-quotes at the value require '\'-escape, regardless of quoting. * - Consecutive (or 1) backslashes at the value all need '\'-escape only if * followed by [escaped] double quote, else taken literally, e.g. * remains literal without quoting or esc, but becomes . @@ -517,7 +517,7 @@ static char *quote_win32(const char *s) if (*s == '\\' || *s == '"') *o++ = '\\'; else - o -= cbs; /* undo cbs escpaes, if any (not followed by DQ) */ + o -= cbs; /* undo cbs escapes, if any (not followed by DQ) */ cbs = *s == '\\' ? cbs + 1 : 0; } if (quoted) {