~ubuntu-branches/ubuntu/oneiric/bombono-dvd/oneiric

« back to all changes in this revision

Viewing changes to libs/boost-lib/boost/regex/v4/states.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104114625-2tfaxma74eqggp5r
Tags: 0.8.0-0ubuntu1
* New upstream release (LP: #670193).
* Refresh 02_sparc.diff patch.
* Replace 05-boost_filesystem-link.patch with 05-fix_boost.patch, it fixes
  build failure with Boost <= 1.44.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef BOOST_REGEX_V4_STATES_HPP
20
20
#define BOOST_REGEX_V4_STATES_HPP
21
21
 
 
22
#ifdef BOOST_MSVC
 
23
#pragma warning(push)
 
24
#pragma warning(disable: 4103)
 
25
#endif
22
26
#ifdef BOOST_HAS_ABI_HEADERS
23
27
#  include BOOST_ABI_PREFIX
24
28
#endif
 
29
#ifdef BOOST_MSVC
 
30
#pragma warning(pop)
 
31
#endif
25
32
 
26
33
namespace boost{
27
34
namespace re_detail{
111
118
   syntax_element_backstep = syntax_element_long_set_rep + 1,
112
119
   // an assertion that a mark was matched:
113
120
   syntax_element_assert_backref = syntax_element_backstep + 1,
114
 
   syntax_element_toggle_case = syntax_element_assert_backref + 1
 
121
   syntax_element_toggle_case = syntax_element_assert_backref + 1,
 
122
   // a recursive expression:
 
123
   syntax_element_recurse = syntax_element_toggle_case + 1
115
124
};
116
125
 
117
126
#ifdef BOOST_REGEX_DEBUG
149
158
   // The index to match, can be zero (don't mark the sub-expression)
150
159
   // or negative (for perl style (?...) extentions):
151
160
   int index;
 
161
   bool icase;
152
162
};
153
163
 
154
164
/*** struct re_dot **************************************************
233
243
struct re_repeat : public re_alt
234
244
{
235
245
   std::size_t   min, max;  // min and max allowable repeats
236
 
   int           id;        // Unique identifier for this repeat
 
246
   int           state_id;        // Unique identifier for this repeat
237
247
   bool          leading;   // True if this repeat is at the start of the machine (lets us optimize some searches)
238
248
   bool          greedy;    // True if this is a greedy repeat
239
249
};
240
250
 
 
251
/*** struct re_recurse ************************************************
 
252
Recurse to a particular subexpression.
 
253
**********************************************************************/
 
254
struct re_recurse : public re_jump
 
255
{
 
256
   int state_id;             // identifier of first nested repeat within the recursion.
 
257
};
 
258
 
241
259
/*** enum re_jump_size_type *******************************************
242
260
Provides compiled size of re_jump structure (allowing for trailing alignment).
243
261
We provide this so we know how manybytes to insert when constructing the machine
267
285
 
268
286
} // namespace boost
269
287
 
 
288
#ifdef BOOST_MSVC
 
289
#pragma warning(push)
 
290
#pragma warning(disable: 4103)
 
291
#endif
270
292
#ifdef BOOST_HAS_ABI_HEADERS
271
293
#  include BOOST_ABI_SUFFIX
272
294
#endif
 
295
#ifdef BOOST_MSVC
 
296
#pragma warning(pop)
 
297
#endif
273
298
 
274
299
#endif
275
300