// 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////////////////////////////////////////
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>()) ] )
;