Skip to content

Commit d33251e

Browse files
committed
Fix a few small cosmetic issues
1 parent 990d53f commit d33251e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

HACKING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ The following are followed by a length element, then a number of character code
251251
values (which should match with the length):
252252

253253
META_MARK (*MARK:xxxx)
254-
META_COMMIT_ARG )*COMMIT:xxxx)
254+
META_COMMIT_ARG (*COMMIT:xxxx)
255255
META_PRUNE_ARG (*PRUNE:xxx)
256256
META_SKIP_ARG (*SKIP:xxxx)
257257
META_THEN_ARG (*THEN:xxxx)

src/pcre2_error.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ static const unsigned char match_error_texts[] =
291291
"heap limit exceeded\0"
292292
"invalid syntax\0"
293293
/* 65 */
294-
"internal error - duplicate substitution match\0"
294+
"internal error: duplicate substitution match\0"
295295
"PCRE2_MATCH_INVALID_UTF is not supported for DFA matching\0"
296-
"INTERNAL ERROR: invalid substring offset\0"
296+
"internal error: invalid substring offset\0"
297297
"feature is not supported by the JIT compiler\0"
298298
"error performing replacement case transformation\0"
299299
/* 70 */

src/pcre2_intmodedep.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ UTF support is omitted, we don't even define them. */
293293

294294
#define HAS_EXTRALEN(c) HASUTF8EXTRALEN(c)
295295

296-
/* Returns with the additional number of characters if IS_MULTICHAR(c) is TRUE.
296+
/* Returns with the additional number of characters if HAS_EXTRALEN(c) is TRUE.
297297
Otherwise it has an undefined behaviour. */
298298

299299
#define GET_EXTRALEN(c) (PRIV(utf8_table4)[(c) & 0x3fu])
@@ -379,7 +379,7 @@ because almost all calls are already within a block of UTF-8 only code. */
379379

380380
#define HAS_EXTRALEN(c) (((c) & 0xfc00u) == 0xd800u)
381381

382-
/* Returns with the additional number of characters if IS_MULTICHAR(c) is TRUE.
382+
/* Returns with the additional number of characters if HAS_EXTRALEN(c) is TRUE.
383383
Otherwise it has an undefined behaviour. */
384384

385385
#define GET_EXTRALEN(c) 1

0 commit comments

Comments
 (0)