Utils/Console: fix for changed order of senf::console::factory::Command parameters
[senf.git] / senf / Utils / Console / Parse.ih
index fe95008..e0e42d6 100644 (file)
 
 // Custom includes
 #include <vector>
-#include "../../config.hh"
+#include <senf/config.hh>
 #include <boost/spirit.hpp>
 #include <boost/spirit/utility/grammar_def.hpp>
 #include <boost/spirit/dynamic.hpp>
 #include <boost/spirit/phoenix.hpp>
-#include "../../Utils/Phoenix.hh"
+#include <senf/Utils/Phoenix.hh>
 
 ///////////////////////////////ih.p////////////////////////////////////////
 
@@ -293,12 +293,12 @@ namespace detail {
 
                 relpath
                     =    (   word                 [ push_back(path_, token_) ]
-                           % ch_p('/') )
-                      >> ( ! ch_p('/')            [ push_back(path_, construct_<Token>()) ] )
+                           % +ch_p('/') )
+                      >> ( ! (+ch_p('/') )        [ push_back(path_, construct_<Token>()) ] )
                     ;
 
                 abspath
-                    =    ch_p('/')                [ push_back(path_, construct_<Token>()) ]
+                    =    (+ch_p('/'))             [ push_back(path_, construct_<Token>()) ]
                       >> ( relpath
                          | eps_p                  [ push_back(path_, construct_<Token>()) ] )
                     ;