Skip to content

Commit 1f1d06b

Browse files
authored
Add missing macro names for new errors
1 parent bcc12d9 commit 1f1d06b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/pcre2.h.generic

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@ pcre2_pattern_convert(). */
343343
#define PCRE2_ERROR_PERL_ECLASS_EMPTY_EXPR 214
344344
#define PCRE2_ERROR_PERL_ECLASS_MISSING_CLOSE 215
345345
#define PCRE2_ERROR_PERL_ECLASS_UNEXPECTED_CHAR 216
346+
#define PCRE2_ERROR_EXPECTED_CAPTURE_GROUP 217
347+
#define PCRE2_ERROR_MISSING_OPENING_PARENTHESIS 218
346348

347349
/* "Expected" matching error codes: no match and partial match. */
348350

src/pcre2.h.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@ pcre2_pattern_convert(). */
343343
#define PCRE2_ERROR_PERL_ECLASS_EMPTY_EXPR 214
344344
#define PCRE2_ERROR_PERL_ECLASS_MISSING_CLOSE 215
345345
#define PCRE2_ERROR_PERL_ECLASS_UNEXPECTED_CHAR 216
346+
#define PCRE2_ERROR_EXPECTED_CAPTURE_GROUP 217
347+
#define PCRE2_ERROR_MISSING_OPENING_PARENTHESIS 218
346348

347349
/* "Expected" matching error codes: no match and partial match. */
348350

0 commit comments

Comments
 (0)