Skip to content

Commit 4e5f625

Browse files
authored
Merge pull request #436 from thekhalifa/fix-fbdoc-pcre2
fbdoc: Convert to pcre2 from obsolete pcre (pcre3)
2 parents 94dc414 + 59d41b4 commit 4e5f625

File tree

14 files changed

+93
-86
lines changed

14 files changed

+93
-86
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

contrib/travis/bootstrap.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ if [ "$FBTRAVIS_TARGET_BITS" = "32" ]; then
2626
libcurl4-openssl-dev:i386 \
2727
libmysqlclient-dev:i386 \
2828
libaspell-dev:i386 \
29-
libpcre3-dev:i386
29+
libpcre3-dev:i386 \
30+
libpcre2-dev:i386
3031
else
3132
sudo apt-get -y --no-install-recommends install \
3233
libncurses-dev \
@@ -40,7 +41,8 @@ else
4041
libcurl4-openssl-dev \
4142
libmysqlclient-dev \
4243
libaspell-dev \
43-
libpcre3-dev
44+
libpcre3-dev \
45+
libpcre2-dev
4446
fi
4547

4648
source "$(dirname "$0")/bootstrap-settings.sh"

doc/fbchkdoc/chkdocs.bas

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include once "cmd_opts.bi"
3939

4040
'' libs
41-
#inclib "pcre"
4241
#inclib "funcs"
4342

4443
using fb

doc/fbchkdoc/getindex.bas

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include once "cmd_opts.bi"
3535

3636
'' libs
37-
#inclib "pcre"
3837
#inclib "curl"
3938

4039
using fb

doc/fbchkdoc/getpage.bas

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include once "cmd_opts.bi"
3535

3636
'' libs
37-
#inclib "pcre"
3837
#inclib "curl"
3938

4039
using fb

doc/fbchkdoc/insert.bas

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929

3030
'' libs
3131
#inclib "fbdoc"
32-
#inclib "pcre"
3332

3433
using fb
3534
using fbdoc

doc/fbchkdoc/mkimglst.bas

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include once "cmd_opts.bi"
3131

3232
'' libs
33-
#inclib "pcre"
3433
#inclib "curl"
3534

3635
using fb

doc/fbchkdoc/mkprntoc.bas

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include once "cmd_opts.bi"
3030

3131
'' libs
32-
#inclib "pcre"
3332
#inclib "curl"
3433

3534
using fb

doc/fbchkdoc/putpage.bas

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include once "cmd_opts.bi"
3131

3232
'' libs
33-
#inclib "pcre"
3433
#inclib "curl"
3534

3635
using fb

doc/fbchkdoc/rebuild.bas

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929

3030
'' libs
3131
#inclib "fbdoc"
32-
#inclib "pcre"
3332

3433
using fb
3534
using fbdoc

0 commit comments

Comments
 (0)