rewrite_semis_in_call_args

Function rewrite_semis_in_call_args 

Source
pub(super) fn rewrite_semis_in_call_args(s: &str) -> String
Expand description

Walk s and, for every function-call paren group, rewrite top-level ; in the args to , when the args contain no top-level , already. Calls named loop / exec2 / exec3 / while are skipped because their interceptors rely on ;-chain syntax inside the arg body.