|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49746 - trunk/boost/spirit/home/support/detail/lexer
From: jamin.hanson_at_[hidden]
Date: 2008-11-14 10:12:40
Author: ben_hanson
Date: 2008-11-14 10:12:40 EST (Fri, 14 Nov 2008)
New Revision: 49746
URL: http://svn.boost.org/trac/boost/changeset/49746
Log:
Added enums for regex flags.
Text files modified:
trunk/boost/spirit/home/support/detail/lexer/consts.hpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/home/support/detail/lexer/consts.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/lexer/consts.hpp (original)
+++ trunk/boost/spirit/home/support/detail/lexer/consts.hpp 2008-11-14 10:12:40 EST (Fri, 14 Nov 2008)
@@ -1,5 +1,5 @@
// consts.h
-// Copyright (c) 2007 Ben Hanson (http://www.benhanson.net/)
+// Copyright (c) 2007-2008 Ben Hanson (http://www.benhanson.net/)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file licence_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -8,12 +8,13 @@
#include <boost/config.hpp>
#include <boost/integer_traits.hpp>
-#include <boost/spirit/home/support/detail/lexer/size_t.hpp>
+#include "size_t.hpp"
namespace boost
{
namespace lexer
{
+ enum regex_flags {none = 0, icase = 1, dot_not_newline = 2};
// 0 = end state, 1 = id, 2 = lex state, 3 = bol, 4 = eol,
// 5 = dead_state_index
enum {end_state_index, id_index, state_index, bol_index, eol_index,
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk