Skip to content

Commit 1910ef2

Browse files
committed
inline.h: White space only
This changes the indent of some code that will make sense in a few commits.
1 parent 6b6e7eb commit 1910ef2

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

inline.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3024,13 +3024,13 @@ Perl_utf8n_to_uvchr_msgs(const U8 *s,
30243024
flags, errors, msgs);
30253025
#endif
30263026

3027-
type = PL_strict_utf8_dfa_tab[*s];
3027+
type = PL_strict_utf8_dfa_tab[*s];
30283028

30293029
/* The table is structured so that 'type' is 0 iff the input byte is
30303030
* represented identically regardless of the UTF-8ness of the string */
3031-
if (type == 0) { /* UTF-8 invariants are returned unchanged */
3032-
uv = *s;
3033-
}
3031+
if (type == 0) { /* UTF-8 invariants are returned unchanged */
3032+
uv = *s;
3033+
}
30343034
else {
30353035
UV state = PL_strict_utf8_dfa_tab[256 + type];
30363036
uv = (0xff >> type) & NATIVE_UTF8_TO_I8(*s);
@@ -3041,25 +3041,25 @@ Perl_utf8n_to_uvchr_msgs(const U8 *s,
30413041

30423042
uv = UTF8_ACCUMULATE(uv, *s);
30433043

3044-
if (state == 0) {
3044+
if (state == 0) {
30453045
#ifdef EBCDIC
3046-
uv = UNI_TO_NATIVE(uv);
3046+
uv = UNI_TO_NATIVE(uv);
30473047
#endif
30483048
goto success;
3049-
}
30503049
}
3050+
}
30513051

3052-
/* Here is potentially problematic. Use the full mechanism */
3053-
return _utf8n_to_uvchr_msgs_helper(s0, curlen, retlen, flags,
3054-
errors, msgs);
3052+
/* Here is potentially problematic. Use the full mechanism */
3053+
return _utf8n_to_uvchr_msgs_helper(s0, curlen, retlen, flags,
3054+
errors, msgs);
30553055
}
30563056

30573057
success:
3058-
if (retlen) {
3059-
*retlen = s - s0 + 1;
3060-
}
3058+
if (retlen) {
3059+
*retlen = s - s0 + 1;
3060+
}
30613061

3062-
return uv;
3062+
return uv;
30633063
}
30643064

30653065
PERL_STATIC_INLINE UV

0 commit comments

Comments
 (0)