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
498#include <process.h>498#include <process.h>
499 499
500/* - Empty argument or with space/tab (not newline) requires quoting.500/* - 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.
502 * - Consecutive (or 1) backslashes at the value all need '\'-escape only if502 * - Consecutive (or 1) backslashes at the value all need '\'-escape only if
503 * followed by [escaped] double quote, else taken literally, e.g. <x\\y\>503 * followed by [escaped] double quote, else taken literally, e.g. <x\\y\>
504 * remains literal without quoting or esc, but <x\\"y\> becomes <x\\\\\"y\>.504 * 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
517 if (*s == '\\' || *s == '"')517 if (*s == '\\' || *s == '"')
518 *o++ = '\\';518 *o++ = '\\';
519 else519 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) */
521 cbs = *s == '\\' ? cbs + 1 : 0;521 cbs = *s == '\\' ? cbs + 1 : 0;
522 }522 }
523 if (quoted) {523 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