Repository navigation
Commit a3f4805
Fix comment and remove unreachable char overload per code review
- Fix inaccurate comment: non-literal args use two appends (+= val, += ' '),
not one concatenated append as the old comment implied.
- Remove the char-specific _AppendRuns overload: all token/keyword constants
in lex.h are const char* (not char), so no call site ever passes a bare
char argument; the overload was dead code.
Agent-Logs-Url: https://github.com/Cpp2Rust/cpp2rust/sessions/baf4f5f7-8950-4369-a9c9-708aaed9ad22
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>1 parent 0dca7ae commit a3f4805
1 file changed
Lines changed: 4 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
368 | | - | |
369 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | 381 | | |
395 | 382 | | |
396 | 383 | | |
| |||
0 commit comments