upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/xma2_decoder.cpp
diff options
context:
space:
mode:
authorqhukz13 <v.onashchuk@gmail.com>2026-11-24 15:11:57 +0200
committerqhukz13 <v.onashchuk@gmail.com>2026-11-24 16:01:45 +0200
commitea10ffd572c9af0298a98f6427209e2bde402b7c (patch)
tree5c9b6da001bd8c1ac11147451e857a59d11af2dd /runtime/src/xma2_decoder.cpp
parentdc2931044b0cf89bccab7c149b0fcda99cb4cc99 (diff)
semantic_mutants: a """ in a comment and adjacent string literals no longer hide or split a docstring
Review on #660 (lixonik): a comment holding `"""` before a docstring flipped the delimiter count, so a --lines range inside the docstring was mutated as code, and a docstring written as adjacent literals ("a " "b") was not recognised. Follow triple-quote delimiters with a small scanner that skips comments, one-line strings and escaped delimiters, and take a run of adjacent string tokens ending the statement as one docstring. A literal that is read by the code after it stays code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions