Commit c47a972
committed
gcc: refine response-file tokenizer visibility and whitespace handling
Follow-up to the quoted @response-file support:
- make split_gnu_response_file_args private (only used within gcc.rs)
- split on ASCII whitespace only, matching the compilers' tokenizers so a
non-ASCII Unicode space in a filename does not break an argument
- clarify the empty-"" behavior (matches Clang, not GCC's buildargv)1 parent b78ba27 commit c47a972
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
1148 | | - | |
1149 | | - | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
1150 | 1155 | | |
1151 | 1156 | | |
1152 | 1157 | | |
1153 | 1158 | | |
1154 | 1159 | | |
1155 | 1160 | | |
1156 | | - | |
| 1161 | + | |
1157 | 1162 | | |
1158 | 1163 | | |
1159 | 1164 | | |
| |||
0 commit comments