X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftransform.c;h=e268312cfc61000eb11258af4f35b2357b0a972e;hb=df7b55a8f6354e30e8da62eec7f706df033d0c81;hp=77aa0a299eb722a0deee32556d848ace239d7a5a;hpb=73d0d1a0f883be5f67534362c99382f1eae8d178;p=chaz%2Ftar diff --git a/src/transform.c b/src/transform.c index 77aa0a2..e268312 100644 --- a/src/transform.c +++ b/src/transform.c @@ -71,7 +71,7 @@ struct transform -int transform_flags = XFORM_ALL; +static int transform_flags = XFORM_ALL; static struct transform *transform_head, *transform_tail; static struct transform * @@ -347,7 +347,7 @@ parse_transform_expr (const char *expr) break; case 'L': - /* Turn the replacement to lowercase until a `\U' or `\E' + /* Turn the replacement to lowercase until a '\U' or '\E' is found, */ add_case_ctl_segment (tf, ctl_locase); cur++; @@ -360,7 +360,7 @@ parse_transform_expr (const char *expr) break; case 'U': - /* Turn the replacement to uppercase until a `\L' or `\E' + /* Turn the replacement to uppercase until a '\L' or '\E' is found, */ add_case_ctl_segment (tf, ctl_upcase); cur++; @@ -373,7 +373,7 @@ parse_transform_expr (const char *expr) break; case 'E': - /* Stop case conversion started by `\L' or `\U'. */ + /* Stop case conversion started by '\L' or '\U'. */ add_case_ctl_segment (tf, ctl_stop); cur++; break;