]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/quickbook/src/phrase_element_grammar.cpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / tools / quickbook / src / phrase_element_grammar.cpp
index 39624d4a96322537416765e6266cbe162412c83e..aa0b04ca1699d991176932454307312ad2693b85 100644 (file)
@@ -8,18 +8,18 @@
     http://www.boost.org/LICENSE_1_0.txt)
 =============================================================================*/
 
-#include "grammar_impl.hpp"
-#include "state.hpp"
-#include "actions.hpp"
-#include "utils.hpp"
-#include "phrase_tags.hpp"
-#include <boost/spirit/include/classic_core.hpp>
+#include <boost/foreach.hpp>
 #include <boost/spirit/include/classic_assign_actor.hpp>
 #include <boost/spirit/include/classic_clear_actor.hpp>
+#include <boost/spirit/include/classic_core.hpp>
 #include <boost/spirit/include/classic_if.hpp>
-#include <boost/spirit/include/phoenix1_primitives.hpp>
 #include <boost/spirit/include/phoenix1_casts.hpp>
-#include <boost/foreach.hpp>
+#include <boost/spirit/include/phoenix1_primitives.hpp>
+#include "actions.hpp"
+#include "grammar_impl.hpp"
+#include "phrase_tags.hpp"
+#include "state.hpp"
+#include "utils.hpp"
 
 namespace quickbook
 {
@@ -27,22 +27,22 @@ namespace quickbook
 
     struct phrase_element_grammar_local
     {
-        cl::rule<scanner>
-                        image, anchor, link, empty, cond_phrase, inner_phrase,
-                        role, source_mode
-                        ;
+        cl::rule<scanner> image, anchor, link, empty, cond_phrase, inner_phrase,
+            role, source_mode;
     };
 
     void quickbook_grammar::impl::init_phrase_elements()
     {
-        phrase_element_grammar_local& local = cleanup_.add(
-            new phrase_element_grammar_local);
+        phrase_element_grammar_local& local =
+            cleanup_.add(new phrase_element_grammar_local);
 
         error_action error(state);
         raw_char_action raw_char(state);
         scoped_parser<cond_phrase_push> scoped_cond_phrase(state);
         scoped_parser<to_value_scoped_action> to_value(state);
 
+        // clang-format off
+
         elements.add
             ("?", element_info(element_info::phrase, &local.cond_phrase))
             ;
@@ -205,5 +205,7 @@ namespace quickbook
                 blank
             >>  to_value() [ paragraph_phrase ]
             ;
+
+        // clang-format on
     }
 }