Update of /cvsroot/boost/boost/tools/quickbook
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8034

Modified Files:
        block.hpp phrase.hpp 
Log Message:
- fix bug in paragraphs inside tables where there's an empty line with some 
space
- adjusted the tests to new code changes
- doc updates

Index: block.hpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/quickbook/block.hpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- block.hpp   27 Feb 2007 15:22:15 -0000      1.20
+++ block.hpp   21 Jul 2007 04:56:36 -0000      1.21
@@ -74,11 +74,11 @@
                 eol = blank >> eol_p
                     ;
 
-                close_bracket =
+                phrase_end =
                     ']' |
                     if_p(var(no_eols))
                     [
-                        eol_p >> eol_p                  // Make sure that we 
don't go
+                        eol >> eol                      // Make sure that we 
don't go
                     ]                                   // past a single 
block, except
                     ;                                   // when preformatted.
 
@@ -321,14 +321,14 @@
                        "xinclude"
                     >> hard_space
                     >> (*(anychar_p -
-                            close_bracket))             [actions.xinclude]
+                            phrase_end))                [actions.xinclude]
                     ;
 
                 import =
                        "import"
                     >> hard_space
                     >> (*(anychar_p -
-                            close_bracket))             [actions.import]
+                            phrase_end))                [actions.import]
                     ;
 
                 include =
@@ -341,7 +341,7 @@
                         >> space
                     )
                     >> (*(anychar_p -
-                            close_bracket))             [actions.include]
+                            phrase_end))                [actions.include]
                     ;
 
                 code =
@@ -400,7 +400,7 @@
                    *(   common
                     |   comment
                     |   (anychar_p -
-                            close_bracket)              [actions.plain_char]
+                            phrase_end)                 [actions.plain_char]
                     )
                     ;
             }
@@ -410,7 +410,7 @@
             rule<Scanner>   start_, blocks, block_markup, code, code_line,
                             paragraph, space, blank, comment, headings, h, h1, 
h2,
                             h3, h4, h5, h6, hr, blurb, blockquote, admonition,
-                            phrase, list, close_bracket, ordered_list, 
def_macro,
+                            phrase, list, phrase_end, ordered_list, def_macro,
                             macro_identifier, table, table_row, variablelist,
                             varlistentry, varlistterm, varlistitem, table_cell,
                             preformatted, list_item, begin_section, 
end_section,

Index: phrase.hpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/quickbook/phrase.hpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- phrase.hpp  5 Jul 2007 01:56:15 -0000       1.24
+++ phrase.hpp  21 Jul 2007 04:56:36 -0000      1.25
@@ -80,11 +80,11 @@
                 eol = blank >> eol_p
                     ;
 
-                close_bracket =
+                phrase_end =
                     ']' |
                     if_p(var(self.no_eols))
                     [
-                        eol_p >> eol_p                  // Make sure that we 
don't go
+                        eol >> eol                      // Make sure that we 
don't go
                     ]                                   // past a single 
block, except
                     ;                                   // when preformatted.
 
@@ -194,19 +194,18 @@
                     ;
 
                 simple_markup(simple_bold,
-                    '*', actions.simple_bold, close_bracket);
+                    '*', actions.simple_bold, phrase_end);
                 simple_markup(simple_italic,
-                    '/', actions.simple_italic, close_bracket);
+                    '/', actions.simple_italic, phrase_end);
                 simple_markup(simple_underline,
-                    '_', actions.simple_underline, close_bracket);
+                    '_', actions.simple_underline, phrase_end);
                 simple_markup(simple_teletype,
-                    '=', actions.simple_teletype, close_bracket);
+                    '=', actions.simple_teletype, phrase_end);
 
                 phrase =
                    *(   common
                     |   comment
-                    |   (anychar_p -
-                            close_bracket)              [actions.plain_char]
+                    |   (anychar_p - phrase_end)        [actions.plain_char]
                     )
                     ;
 
@@ -252,7 +251,7 @@
                 image =
                         '$' >> blank
                     >> (*(anychar_p -
-                            close_bracket))             [actions.image]
+                            phrase_end))                [actions.image]
                     ;
 
                 url =
@@ -277,7 +276,7 @@
                         '#'
                     >>  blank
                     >>  (   *(anychar_p -
-                                close_bracket)
+                                phrase_end)
                         )                               [actions.anchor]
                     ;
 
@@ -393,7 +392,7 @@
             }
 
             rule<Scanner>   space, blank, comment, phrase, phrase_markup, 
image,
-                            close_bracket, bold, italic, underline, teletype,
+                            phrase_end, bold, italic, underline, teletype,
                             strikethrough, escape, url, common, funcref,
                             classref, memberref, enumref, macroref, headerref, 
conceptref,
                             anchor, link, hard_space, eol, inline_code, 
simple_format,


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to