diff options
author | NIIBE Yutaka <[email protected]> | 2020-07-15 00:38:05 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2020-07-15 00:44:43 +0000 |
commit | 91cb46d948db234be1ea8092f5db9e14294f1b79 (patch) | |
tree | 74db351ccb9c9b62c3f72c8c637339cf8963c05d /regexp/jimregexp.h | |
parent | gpgsm: Make rsaPSS a compliant scheme in de-vs mode. (diff) | |
download | gnupg-91cb46d948db234be1ea8092f5db9e14294f1b79.tar.gz gnupg-91cb46d948db234be1ea8092f5db9e14294f1b79.zip |
regexp: Import change from JimTcl.
* regexp/jimregexp.h, regexp/jimregexp.c: Fix from JimTcl.
--
Apply the change in JimTcl:
commit ac35b8a6ec417f75b5ec86ca64ea1614a8170a38
Author: Steve Bennett <[email protected]>
Date: Mon May 4 20:43:46 2020 +1000
regexp: Improved error message
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'regexp/jimregexp.h')
-rw-r--r-- | regexp/jimregexp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regexp/jimregexp.h b/regexp/jimregexp.h index 581b7104c..ab734797b 100644 --- a/regexp/jimregexp.h +++ b/regexp/jimregexp.h @@ -91,9 +91,10 @@ enum { REG_ERR_NESTED_COUNT, REG_ERR_INTERNAL, REG_ERR_COUNT_FOLLOWS_NOTHING, - REG_ERR_TRAILING_BACKSLASH, + REG_ERR_INVALID_ESCAPE, REG_ERR_CORRUPTED, REG_ERR_NULL_CHAR, + REG_ERR_UNMATCHED_BRACKET, REG_ERR_NUM }; |