57 |
// Special object that stands-in for no argument |
// Special object that stands-in for no argument |
58 |
Arg RE::no_arg((void*)NULL); |
Arg RE::no_arg((void*)NULL); |
59 |
|
|
60 |
|
// This is for ABI compatibility with old versions of pcre (pre-7.6), |
61 |
|
// which defined a global no_arg variable instead of putting it in the |
62 |
|
// RE class. This works on GCC >= 3, at least. We could probably have |
63 |
|
// a more inclusive test if we ever needed it. |
64 |
|
#if defined(__GNUC__) && __GNUC__ >= 3 |
65 |
|
extern Arg no_arg __attribute__((alias("_ZN7pcrecpp2RE6no_argE"))); |
66 |
|
#endif |
67 |
|
|
68 |
// If a regular expression has no error, its error_ field points here |
// If a regular expression has no error, its error_ field points here |
69 |
static const string empty_string; |
static const string empty_string; |
70 |
|
|