Skip to content

Commit 59d41b4

Browse files
committed
fbdoc: use pcre2
- fix typo in PR: free compile context - Change CRegex.bas to use pcre2 since the libpcre (a.k.a pcre3) is obsolete in favour of pcre2 by upstream (Ahmad Khalifa) - update changelog.txt
1 parent 696cf6a commit 59d41b4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Version 1.20.0
2424
- rtlib: When array out of bounds check files, show variable/field name, index, lbound, and ubound in the error message
2525
- fbc: '-exx' enables '-earraydims' by default to error on wrong number of array dimensions or unallocated arrays breaking previous use of @array(0,...) = NULL to detect unallocated arrays
2626
- fbc: set bit value '__FB_ERR__' = &h400 if '-earraydims' is enabled
27-
- PEEK, POKE, and SWAP are now quirk words instead of keywords allowing these names to be used as member procedure names
27+
- PEEK, POKE, and SWAP are now quirk words instead of keywords allowing these names to be used as member procedure names
28+
- fbdoc: change CRegex.bas to use pcre2 since the libpcre (a.k.a pcre3) is obsolete in favour of pcre2 by upstream (Ahmad Khalifa)
2829

2930
[added]
3031
- x86_64: optimize SHL MOD INTDIV to use 32-bit operation when result will be converted to long/ulong

doc/libfbdoc/CRegex.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ namespace fb
108108
ctx->code = NULL
109109
end if
110110
if( ctx->ccontext <> NULL ) then
111-
pcre2_compile_context_create( ctx->ccontext )
111+
pcre2_compile_context_free( ctx->ccontext )
112112
ctx->ccontext = NULL
113113
end if
114114

0 commit comments

Comments
 (0)