History

Spelling fixes

Comments only, no change to functionality

Larry Doolittle committed 9 years ago

Commit 1b6806e1 parent 44d4da619 files · +28 −28Browse files

Showing the changes to tests (7 of 19 files). Show all

Unified · Split

7 files
  1. tests/abitest.c +1 −1
  2. tests/pp/15.c +1 −1
  3. tests/tcctest.c +3 −3
  4. tests/tests2/87_dead_code.c +1 −1
  5. tests/tests2/90_struct-init.c +2 −2
  6. tests/tests2/99_fastcall.c +3 −3
  7. tests/tests2/Makefile +1 −1
tests/abitest.c+1−1
@@ -425,7 +425,7 @@ static int two_member_union_test(void) { · 424 unmodified lines
425425 }
426426
427427 /*
428− * Win64 calling convetntion test.
428+ * Win64 calling convention test.
429429 */
430430
431431 typedef struct many_struct_test_type_s {long long a, b, c;} many_struct_test_type;
tests/pp/15.c+1−1
@@ -14,5 +14,5 @@ return n(0x1E)n(-1); · 13 unmodified lines
1414 // unlike gcc but correct
1515 XXX: return n(x)+n(x)-n(1)+n(1)-2;
1616
17−// unlile gcc, but cannot appear in valid C
17+// unlike gcc, but cannot appear in valid C
1818 XXX: return n(x)n(x)n(1)n(2)n(x);
tests/tcctest.c+3−3
@@ -384,7 +384,7 @@ void macro_test(void) · 383 unmodified lines
384384 MF_s("hi");
385385 MF_t("hi");
386386
387− /* test macro substituion inside args (should not eat stream) */
387+ /* test macro substitution inside args (should not eat stream) */
388388 printf("qq=%d\n", qq(qq)(2));
389389
390390 /* test zero argument case. NOTE: gcc 2.95.x does not accept a
@@ -404,7 +404,7 @@ comment · 13 unmodified lines
404404 substituted */
405405 TEST2();
406406
407− /* And again when the name and parenthes are separated by a
407+ /* And again when the name and parentheses are separated by a
408408 comment. */
409409 TEST2 /* the comment */ ();
410410
@@ -3117,7 +3117,7 @@ static __inline__ unsigned long long inc64(unsigned long long a) · 2706 unmodified lines
31173117 unsigned long long res;
31183118 #ifdef __x86_64__
31193119 /* Using the A constraint is wrong, and increments are tested
3120− elsewere. */
3120+ elsewhere. */
31213121 res = a + 1;
31223122 #else
31233123 __asm__("addl $1, %%eax ; adcl $0, %%edx" : "=A" (res) : "A" (a));
tests/tests2/87_dead_code.c+1−1
@@ -9,7 +9,7 @@ static void kb_wait_1(void) · 8 unmodified lines
99 /* Here the else arm is a statement expression that's supposed
1010 to be suppressed. The label inside the while would unsuppress
1111 code generation again if not handled correctly. And that
12− would wreak havok to the cond-expression because there's no
12+ would wreak havoc to the cond-expression because there's no
1313 jump-around emitted, the whole statement expression really
1414 needs to not generate code (perhaps except useless forward jumps). */
1515 (1 ?
tests/tests2/90_struct-init.c+2−2
@@ -60,7 +60,7 @@ struct U gu4 = { 3, {5,6,7,}, 5, { "bla", {44}} }; · 59 unmodified lines
6060 struct S gs3 = { (1), {(2)}, {(((3))), {4}}};
6161 /* Superfluous braces, and leaving out braces for V.t, plus cast */
6262 struct V gv = {{{3},4,{5,6}}, "haha", (u8)45, 46};
63−/* Compund literal */
63+/* Compound literal */
6464 struct V gv2 = {(struct S){7,8,{9,10}}, {"hihi", 47}, 48};
6565 /* Parens around compound literal */
6666 struct V gv3 = {((struct S){7,8,{9,10}}), {"hoho", 49}, 50};
@@ -157,7 +157,7 @@ void foo (struct W *w, struct pkthdr *phdr_) · 90 unmodified lines
157157 struct S ls3 = { (1), (2), {(((3))), 4}};
158158 /* Superfluous braces, and leaving out braces for V.t, plus cast */
159159 struct V lv = {{3,4,{5,6}}, "haha", (u8)45, 46};
160− /* Compund literal */
160+ /* Compound literal */
161161 struct V lv2 = {(struct S)w->t.s, {"hihi", 47}, 48};
162162 /* Parens around compound literal */
163163 struct V lv3 = {((struct S){7,8,{9,10}}), ((const struct W *)w)->t.t, 50};
tests/tests2/99_fastcall.c+3−3
@@ -89,10 +89,10 @@ struct trapframe { · 88 unmodified lines
8989 /////////////////////////////////////////////////////////////////////////
9090 ////////// SAFECALL FRAMEWORK
9191 /////////////////////////////////////////////////////////////////////////
92−// this framwork will convert any calling convention to cdecl
92+// this framework will convert any calling convention to cdecl
9393 // usage: first set call target with 'SET_SAFECALL_TARGET(x)'
94−// then cast 'SAFECALL' to target funtion pointer type and invoke it
95−// after calling, 'ESPDIFF' is the differance of old and new esp
94+// then cast 'SAFECALL' to target function pointer type and invoke it
95+// after calling, 'ESPDIFF' is the difference of old and new esp
9696
9797 void *SYMBOL(sc_call_target);
9898 unsigned SYMBOL(sc_retn_addr);
tests/tests2/Makefile+1−1
@@ -27,7 +27,7 @@ ifeq (-$(findstring gcc,$(CC))-,--) · 26 unmodified lines
2727 SKIP += $(patsubst %.expect,%.test,$(GEN-ALWAYS))
2828 endif
2929 ifeq (-$(CONFIG_WIN32)-$(CONFIG_i386)$(CONFIG_arm)-,--yes-)
30− SKIP += 95_bitfields%.test # type_align is differnt on 32bit-non-windows
30+ SKIP += 95_bitfields%.test # type_align is different on 32bit-non-windows
3131 endif
3232
3333 # Some tests might need arguments

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