]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/wave/grammars/cpp_expression_grammar.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / wave / grammars / cpp_expression_grammar.hpp
index fbb2139ae7514be769fb72abbaf3ae380db0f702..67b2b76f8af6eb51d7b9b751349240c3d6751e66 100644 (file)
@@ -8,8 +8,8 @@
     LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 =============================================================================*/
 
-#if !defined(CPP_EXPRESSION_GRAMMAR_HPP_099CD1A4_A6C0_44BE_8F24_0B00F5BE5674_INCLUDED)
-#define CPP_EXPRESSION_GRAMMAR_HPP_099CD1A4_A6C0_44BE_8F24_0B00F5BE5674_INCLUDED
+#if !defined(BOOST_CPP_EXPRESSION_GRAMMAR_HPP_099CD1A4_A6C0_44BE_8F24_0B00F5BE5674_INCLUDED)
+#define BOOST_CPP_EXPRESSION_GRAMMAR_HPP_099CD1A4_A6C0_44BE_8F24_0B00F5BE5674_INCLUDED
 
 #include <boost/wave/wave_config.hpp>
 
@@ -730,7 +730,7 @@ struct expression_grammar :
             BOOST_SPIRIT_DEBUG_TRACE_RULE(constant_nocalc, TRACE_CPP_EXPR_GRAMMAR);
         }
 
-    // start rule of this grammar
+        // start rule of this grammar
         simple_rule_t const& start() const
         { return pp_expression; }
     };
@@ -782,7 +782,7 @@ expression_grammar_gen<TokenT>::evaluate(
                      ch_p(T_SPACE) | ch_p(T_CCOMMENT) | ch_p(T_CPPCOMMENT));
 
         if (!hit.hit) {
-        // expression is illformed
+            // expression is illformed
             if (if_block_status) {
                 string_type expression = as_string<string_type>(first, last);
                 if (0 == expression.size())
@@ -792,30 +792,30 @@ expression_grammar_gen<TokenT>::evaluate(
                 return false;
             }
             else {
-            //  as the if_block_status is false no errors will be reported
+                //  as the if_block_status is false no errors will be reported
                 return false;
             }
         }
     }
 #if !defined(BOOST_NO_EXCEPTIONS)
     catch (boost::wave::preprocess_exception const& e) {
-    // expression is illformed
+        // expression is illformed
         if (if_block_status) {
             boost::throw_exception(e);
             return false;
         }
         else         {
-        //  as the if_block_status is false no errors will be reported
+            //  as the if_block_status is false no errors will be reported
             return false;
         }
     }
 #endif
 
     if (!hit.full) {
-    // The token list starts with a valid expression, but there remains
-    // something. If the remainder consists out of whitespace only, the
-    // expression is still valid.
-    iterator_type next = hit.stop;
+        // The token list starts with a valid expression, but there remains
+        // something. If the remainder consists out of whitespace only, the
+        // expression is still valid.
+        iterator_type next = hit.stop;
 
         while (next != last) {
             switch (token_id(*next)) {
@@ -830,7 +830,7 @@ expression_grammar_gen<TokenT>::evaluate(
                 return as_bool(result);     // expression is valid
 
             default:
-            // expression is illformed
+                // expression is illformed
                 if (if_block_status) {
                     string_type expression = as_string<string_type>(first, last);
                     if (0 == expression.size())
@@ -840,7 +840,7 @@ expression_grammar_gen<TokenT>::evaluate(
                     return false;
                 }
                 else {
-                //  as the if_block_status is false no errors will be reported
+                    //  as the if_block_status is false no errors will be reported
                     return false;
                 }
             }
@@ -851,7 +851,7 @@ expression_grammar_gen<TokenT>::evaluate(
     if (error_noerror != result.is_valid()) // division or other error by zero occurred
         status = result.is_valid();
 
-// token sequence is a valid expression
+    // token sequence is a valid expression
     return as_bool(result);
 }
 
@@ -867,4 +867,4 @@ expression_grammar_gen<TokenT>::evaluate(
 #include BOOST_ABI_SUFFIX
 #endif
 
-#endif // !defined(CPP_EXPRESSION_GRAMMAR_HPP_099CD1A4_A6C0_44BE_8F24_0B00F5BE5674_INCLUDED)
+#endif // !defined(BOOST_CPP_EXPRESSION_GRAMMAR_HPP_099CD1A4_A6C0_44BE_8F24_0B00F5BE5674_INCLUDED)