Skip to content

Commit 0e80344

Browse files
committed
partially revert of regex include scheme
1 parent 3a244b1 commit 0e80344

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/engine/regexp.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,19 @@
3939
*** seiwald@perforce.com, on 20 January 2000, to use function prototypes.
4040
*** THIS IS AN ALTERED VERSION. It was altered by René Ferdinand Rivera Morell
4141
*** on 2023-01, to convert to C++ and to be thread safe.
42+
*** THIS IS AN ALTERED VERSION. It was altered by Paolo Pastori on 2026-01,
43+
*** to fix issues with malformed regexps and reshape regerror().
4244
*
4345
* Beware that some of this code is subtly aware of the way operator precedence
4446
* is structured in regular expressions. Serious changes in regular-expression
4547
* syntax might require a total rethink.
4648
*/
4749

50+
#include "jam.h"
4851
#include "regexp.h"
49-
#include "lists.h"
52+
5053
#include "frames.h"
54+
#include "lists.h"
5155
#include "output.h"
5256
#include "startup.h"
5357
#include "strview.h"

src/engine/regexp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
#ifndef B2_REGEXP_H
88
#define B2_REGEXP_H
99

10-
#include "jam.h"
10+
#include "config.h"
11+
1112
#include "mem.h"
1213
#include "strview.h"
1314
#include "types.h"

0 commit comments

Comments
 (0)