]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/classic/test/switch_tests_eps_default.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / spirit / classic / test / switch_tests_eps_default.cpp
index 747164d845319cffad82dc868a8d5af1a33a3537..9e9557f2d71be139aa476a3d90e8c63669c1d6e5 100644 (file)
@@ -42,12 +42,12 @@ namespace test_grammars {
         {
             definition(switch_grammar_direct_default4 const& /*self*/)
             {
-                r = switch_p [
+                r = switch_p [(
                         case_p<'a'>(int_p),
                         case_p<'b'>(ch_p(',')),
                         case_p<'c'>(str_p("bcd")),
                         default_p
-                    ];
+                    )];
             }
 
             rule<ScannerT> r;
@@ -63,12 +63,12 @@ namespace test_grammars {
         {
             definition(switch_grammar_direct_default5 const& /*self*/)
             {
-                r = switch_p [
+                r = switch_p [(
                         case_p<'a'>(int_p),
                         case_p<'b'>(ch_p(',')),
                         default_p,
                         case_p<'c'>(str_p("bcd"))
-                    ];
+                    )];
             }
 
             rule<ScannerT> r;
@@ -84,12 +84,12 @@ namespace test_grammars {
         {
             definition(switch_grammar_direct_default6 const& /*self*/)
             {
-                r = switch_p [
+                r = switch_p [(
                         default_p,
                         case_p<'a'>(int_p),
                         case_p<'b'>(ch_p(',')),
                         case_p<'c'>(str_p("bcd"))
-                    ];
+                    )];
             }
 
             rule<ScannerT> r;
@@ -107,12 +107,12 @@ namespace test_grammars {
         {
             definition(switch_grammar_parser_default4 const& /*self*/)
             {
-                r = switch_p(anychar_p) [
+                r = switch_p(anychar_p) [(
                         case_p<'a'>(int_p),
                         case_p<'b'>(ch_p(',')),
                         case_p<'c'>(str_p("bcd")),
                         default_p
-                    ];
+                    )];
             }
 
             rule<ScannerT> r;
@@ -128,12 +128,12 @@ namespace test_grammars {
         {
             definition(switch_grammar_parser_default5 const& /*self*/)
             {
-                r = switch_p(anychar_p) [
+                r = switch_p(anychar_p) [(
                         case_p<'a'>(int_p),
                         case_p<'b'>(ch_p(',')),
                         default_p,
                         case_p<'c'>(str_p("bcd"))
-                    ];
+                    )];
             }
 
             rule<ScannerT> r;
@@ -149,12 +149,12 @@ namespace test_grammars {
         {
             definition(switch_grammar_parser_default6 const& /*self*/)
             {
-                r = switch_p(anychar_p) [
+                r = switch_p(anychar_p) [(
                         default_p,
                         case_p<'a'>(int_p),
                         case_p<'b'>(ch_p(',')),
                         case_p<'c'>(str_p("bcd"))
-                    ];
+                    )];
             }
 
             rule<ScannerT> r;
@@ -179,12 +179,12 @@ namespace test_grammars {
             {
                 using phoenix::arg1;
                 r = select_p('a', 'b', 'c', 'd')[r.val = arg1] >>
-                    switch_p(r.val) [
+                    switch_p(r.val) [(
                         case_p<0>(int_p),
                         case_p<1>(ch_p(',')),
                         case_p<2>(str_p("bcd")),
                         default_p
-                    ];
+                    )];
             }
 
             rule<ScannerT, select_result::context_t> r;
@@ -203,12 +203,12 @@ namespace test_grammars {
             {
                 using phoenix::arg1;
                 r = select_p('a', 'b', 'c', 'd')[r.val = arg1] >>
-                    switch_p(r.val) [
+                    switch_p(r.val) [(
                         case_p<0>(int_p),
                         case_p<1>(ch_p(',')),
                         default_p,
                         case_p<2>(str_p("bcd"))
-                    ];
+                    )];
             }
 
             rule<ScannerT, select_result::context_t> r;
@@ -227,12 +227,12 @@ namespace test_grammars {
             {
                 using phoenix::arg1;
                 r = select_p('a', 'b', 'c', 'd')[r.val = arg1] >>
-                    switch_p(r.val) [
+                    switch_p(r.val) [(
                         default_p,
                         case_p<0>(int_p),
                         case_p<1>(ch_p(',')),
                         case_p<2>(str_p("bcd"))
-                    ];
+                    )];
             }
 
             rule<ScannerT, select_result::context_t> r;