Unified · Split
| @@ -1622,7 +1622,8 @@ enum { · 1621 unmodified lines | ||
| 1622 | 1622 | TCC_OPTION_MF, |
| 1623 | 1623 | TCC_OPTION_x, |
| 1624 | 1624 | TCC_OPTION_ar, |
| 1625 | − TCC_OPTION_impdef | |
| 1625 | + TCC_OPTION_impdef, | |
| 1626 | + TCC_OPTION_C | |
| 1626 | 1627 | }; |
| 1627 | 1628 | |
| 1628 | 1629 | #define TCC_OPTION_HAS_ARG 0x0001 |
| @@ -1690,6 +1691,7 @@ static const TCCOption tcc_options[] = { · 61 unmodified lines | ||
| 1690 | 1691 | #ifdef TCC_TARGET_PE |
| 1691 | 1692 | { "impdef", TCC_OPTION_impdef, 0}, |
| 1692 | 1693 | #endif |
| 1694 | + { "C", TCC_OPTION_C, 0}, | |
| 1693 | 1695 | { NULL, 0, 0 }, |
| 1694 | 1696 | }; |
| 1695 | 1697 | |
| @@ -2065,6 +2067,7 @@ reparse: · 369 unmodified lines | ||
| 2065 | 2067 | case TCC_OPTION_pedantic: |
| 2066 | 2068 | case TCC_OPTION_pipe: |
| 2067 | 2069 | case TCC_OPTION_s: |
| 2070 | + case TCC_OPTION_C: | |
| 2068 | 2071 | /* ignored */ |
| 2069 | 2072 | break; |
| 2070 | 2073 | default: |
| @@ -48,6 +48,7 @@ static const char help[] = · 47 unmodified lines | ||
| 48 | 48 | " -Dsym[=val] define 'sym' with value 'val'\n" |
| 49 | 49 | " -Usym undefine 'sym'\n" |
| 50 | 50 | " -E preprocess only\n" |
| 51 | + " -C keep comments (not yet implemented)\n" | |
| 51 | 52 | "Linker options:\n" |
| 52 | 53 | " -Ldir add library path 'dir'\n" |
| 53 | 54 | " -llib link with dynamic or static library 'lib'\n" |