/[pcre]/code/tags/pcre-8.01/pcrecpp.cc
ViewVC logotype

Diff of /code/tags/pcre-8.01/pcrecpp.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 308 by ph10, Mon Jan 21 14:57:19 2008 UTC revision 322 by ph10, Wed Mar 5 17:14:08 2008 UTC
# Line 57  static const int kVecSize = (1 + kMaxArg Line 57  static const int kVecSize = (1 + kMaxArg
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    

Legend:
Removed from v.308  
changed lines
  Added in v.322

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12