X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FParse.ih;h=baedd181448ad155798c903ff3ddb9c2869bd195;hb=7661548b20e6c7627f54bff87e0758396fd523ef;hp=fffaec286a94c94e1e77594f1bf8919e3a406087;hpb=cb50871835b7a5c37e4fd32d38de67fa12570ebc;p=senf.git diff --git a/senf/Utils/Console/Parse.ih b/senf/Utils/Console/Parse.ih index fffaec2..baedd18 100644 --- a/senf/Utils/Console/Parse.ih +++ b/senf/Utils/Console/Parse.ih @@ -44,7 +44,7 @@ #include -///////////////////////////////ih.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -82,18 +82,18 @@ namespace detail { ::phoenix::function const positionOf; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////////// // Grammar template struct CommandGrammar : boost_spirit::grammar > { - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Start rules enum { CommandParser, SkipParser, ArgumentsParser, PathParser }; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // The parse context (variables needed while parsing) typedef Token::TokenType TokenType; @@ -108,17 +108,17 @@ namespace detail { Context & context; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Configuration bool incremental; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Dispatching semantic actions ParseDispatcher & dispatcher; - ////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // charachter sets static boost_spirit::chset<> special_p; @@ -128,7 +128,7 @@ namespace detail { static boost_spirit::chset<> word_p; static boost_spirit::distinct_parser<> keyword_p; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// // Errors enum Errors { @@ -138,7 +138,7 @@ namespace detail { QuoteExpected }; - /////////////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////////////// CommandGrammar(ParseDispatcher & d, Context & c) : context(c), incremental(false), dispatcher(d) {} @@ -174,7 +174,7 @@ namespace detail { assertion closing_paren_expected (ClosingParenExpected); assertion quote_expected (QuoteExpected); - /////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////// // Spirit grammar // // Syntax summary: @@ -399,7 +399,7 @@ namespace detail { = self.space_p | comment_p('#') ; - /////////////////////////////////////////////////////////////////// + //-///////////////////////////////////////////////////////////////////////////////// start_parsers( command, // CommandParser @@ -447,7 +447,7 @@ namespace detail { }}} -///////////////////////////////ih.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #endif