Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66636 - trunk/boost/spirit/home/support/detail/lexer
From: hartmut.kaiser_at_[hidden]
Date: 2010-11-18 11:18:18


Author: hkaiser
Date: 2010-11-18 11:18:17 EST (Thu, 18 Nov 2010)
New Revision: 66636
URL: http://svn.boost.org/trac/boost/changeset/66636

Log:
Spirit: missed file in previous commit
Text files modified:
   trunk/boost/spirit/home/support/detail/lexer/rules.hpp | 20 ++++++++++++++++++++
   1 files changed, 20 insertions(+), 0 deletions(-)

Modified: trunk/boost/spirit/home/support/detail/lexer/rules.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/lexer/rules.hpp (original)
+++ trunk/boost/spirit/home/support/detail/lexer/rules.hpp 2010-11-18 11:18:17 EST (Thu, 18 Nov 2010)
@@ -39,6 +39,11 @@
         {
             return ".";
         }
+
+ static const char *all_states ()
+ {
+ return "*";
+ }
     };
 
     template <>
@@ -53,6 +58,11 @@
         {
             return L".";
         }
+
+ static const wchar_t *all_states ()
+ {
+ return L"*";
+ }
     };
 }
 
@@ -526,6 +536,16 @@
         return detail::strings<CharT>::initial ();
     }
 
+ static const CharT *all_states ()
+ {
+ return detail::strings<CharT>::all_states ();
+ }
+
+ static const CharT *dot ()
+ {
+ return detail::strings<CharT>::dot ();
+ }
+
 private:
     string_size_t_map _statemap;
     string_pair_deque _macrodeque;


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