History

fix typos in comments

Avi Halachmi (:avih) committed 1 year ago

Commit 085e0291 parent 1cf33fe1 file · +2 −2Browse files

Unified · Split

tcctools.c+2−2
@@ -498,7 +498,7 @@ ST_FUNC int tcc_tool_cross(TCCState *s1, char **argv, int option) · 497 unmodified lines
498498 #include <process.h>
499499
500500 /* - Empty argument or with space/tab (not newline) requires quoting.
501− * - Double-quotes at the value require '\'-escape, retardless of quoting.
501+ * - Double-quotes at the value require '\'-escape, regardless of quoting.
502502 * - Consecutive (or 1) backslashes at the value all need '\'-escape only if
503503 * followed by [escaped] double quote, else taken literally, e.g. <x\\y\>
504504 * remains literal without quoting or esc, but <x\\"y\> becomes <x\\\\\"y\>.
@@ -517,7 +517,7 @@ static char *quote_win32(const char *s) · 12 unmodified lines
517517 if (*s == '\\' || *s == '"')
518518 *o++ = '\\';
519519 else
520− o -= cbs; /* undo cbs escpaes, if any (not followed by DQ) */
520+ o -= cbs; /* undo cbs escapes, if any (not followed by DQ) */
521521 cbs = *s == '\\' ? cbs + 1 : 0;
522522 }
523523 if (quoted) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t