aboutsummaryrefslogtreecommitdiff
path: root/lib/Parser/Parser.cc
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-07-26 12:17:20 +0000
committer_ov4 <ov4@ov4.org>2026-07-26 12:17:20 +0000
commit9164871fe4982bdd12866eb28ebded68ca3dacd1 (patch)
tree7cfd061e731958071f833d0a8932cc45c51ad455 /lib/Parser/Parser.cc
parent1749b2b4a3e55db7c9bed95376f99b7f07932b49 (diff)
refactor: dedupe StringHandler case-convert and substring-copy code
emitLCase/emitUCase were a 45-line verbatim pair differing only in the libc callee; both now delegate to emitCaseConvert(Str, CaseFn). The malloc+memcpy+NUL tail duplicated across emitMid/emitRight/emitLeft moves into allocCopySubstring; each function keeps its own clamp logic, which is intentionally different. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'lib/Parser/Parser.cc')
0 files changed, 0 insertions, 0 deletions