remove hard tabs from source code

these are illegal according to the spec
This commit is contained in:
Andrew Kelley
2024-07-31 14:03:20 -07:00
parent 377e8579f9
commit a7029496d1
7 changed files with 107 additions and 111 deletions

View File

@@ -133,20 +133,20 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
cases.add("scoped typedef",
\\void foo() {
\\ typedef union {
\\ int A;
\\ int B;
\\ int C;
\\ } Foo;
\\ Foo a = {0};
\\ {
\\ typedef union {
\\ int A;
\\ int B;
\\ int C;
\\ } Foo;
\\ Foo a = {0};
\\ }
\\ typedef union {
\\ int A;
\\ int B;
\\ int C;
\\ } Foo;
\\ Foo a = {0};
\\ {
\\ typedef union {
\\ int A;
\\ int B;
\\ int C;
\\ } Foo;
\\ Foo a = {0};
\\ }
\\}
, &[_][]const u8{
\\pub export fn foo() void {
@@ -2043,18 +2043,18 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
\\ break;
\\ }
\\ case 4:
\\ case 5:
\\ case 5:
\\ res = 69;
\\ {
\\ res = 5;
\\ return;
\\ return;
\\ }
\\ case 6:
\\ switch (res) {
\\ case 9: break;
\\ }
\\ res = 1;
\\ return;
\\ return;
\\ }
\\}
, &[_][]const u8{