Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53491 - trunk/boost/spirit/home/support/detail/lexer
From: jamin.hanson_at_[hidden]
Date: 2009-05-31 08:49:25


Author: ben_hanson
Date: 2009-05-31 08:49:25 EDT (Sun, 31 May 2009)
New Revision: 53491
URL: http://svn.boost.org/trac/boost/changeset/53491

Log:
Max line length 80 chars.
Text files modified:
   trunk/boost/spirit/home/support/detail/lexer/file_input.hpp | 12 ++++++++----
   1 files changed, 8 insertions(+), 4 deletions(-)

Modified: trunk/boost/spirit/home/support/detail/lexer/file_input.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/lexer/file_input.hpp (original)
+++ trunk/boost/spirit/home/support/detail/lexer/file_input.hpp 2009-05-31 08:49:25 EDT (Sun, 31 May 2009)
@@ -99,7 +99,8 @@
 
         void next_token ()
         {
- const detail::internals &internals_ = _input->_state_machine->data ();
+ const detail::internals &internals_ =
+ _input->_state_machine->data ();
 
             _data.start = _data.end;
 
@@ -247,7 +248,8 @@
             else
             {
                 const std::size_t state_ =
- ptr_[lookup_[static_cast<typename Traits::index_type> (*curr_++)]];
+ ptr_[lookup_[static_cast<typename Traits::index_type>
+ (*curr_++)]];
 
                 if (state_ == 0)
                 {
@@ -350,7 +352,8 @@
             else
             {
                 const std::size_t state_ =
- ptr_[lookup_[static_cast<typename Traits::index_type> (*curr_++)]];
+ ptr_[lookup_[static_cast<typename Traits::index_type>
+ (*curr_++)]];
 
                 if (state_ == 0)
                 {
@@ -438,7 +441,8 @@
                 // Some systems have memcpy in namespace std.
                 using namespace std;
 
- memcpy (_start_buffer, _start_token - 1, (len_ + 1) * sizeof (CharT));
+ memcpy (_start_buffer, _start_token - 1, (len_ + 1) *
+ sizeof (CharT));
                 _stream->read (_start_buffer + len_ + 1,
                     static_cast<std::streamsize> (_buffer.size () - len_ - 1));
                 count_ = _stream->gcount ();


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