| ... | @@ -612,10 +612,12 @@ static int main0(int argc, char **argv) { | ... | @@ -612,10 +612,12 @@ static int main0(int argc, char **argv) { |
| 612 | case Stage2ClangArgPositional: { | 612 | case Stage2ClangArgPositional: { |
| 613 | Buf *arg_buf = buf_create_from_str(it.only_arg); | 613 | Buf *arg_buf = buf_create_from_str(it.only_arg); |
| 614 | if (buf_ends_with_str(arg_buf, ".c") || | 614 | if (buf_ends_with_str(arg_buf, ".c") || |
| | 615 | buf_ends_with_str(arg_buf, ".C") || |
| 615 | buf_ends_with_str(arg_buf, ".cc") || | 616 | buf_ends_with_str(arg_buf, ".cc") || |
| 616 | buf_ends_with_str(arg_buf, ".cpp") || | 617 | buf_ends_with_str(arg_buf, ".cpp") || |
| 617 | buf_ends_with_str(arg_buf, ".cxx") || | 618 | buf_ends_with_str(arg_buf, ".cxx") || |
| 618 | buf_ends_with_str(arg_buf, ".s")) | 619 | buf_ends_with_str(arg_buf, ".s") || |
| | 620 | buf_ends_with_str(arg_buf, ".S")) |
| 619 | { | 621 | { |
| 620 | CFile *c_file = heap::c_allocator.create<CFile>(); | 622 | CFile *c_file = heap::c_allocator.create<CFile>(); |
| 621 | c_file->source_path = it.only_arg; | 623 | c_file->source_path = it.only_arg; |