diff options
Diffstat (limited to 'parser_keywords.h')
-rw-r--r-- | parser_keywords.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/parser_keywords.h b/parser_keywords.h index d5978c4a..41d65f47 100644 --- a/parser_keywords.h +++ b/parser_keywords.h @@ -11,9 +11,9 @@ Functions having to do with parser keywords, like testing if a function is a blo */ enum { - ARG_NON_SWITCH, - ARG_SWITCH, - ARG_SKIP + ARG_NON_SWITCH, + ARG_SWITCH, + ARG_SKIP }; @@ -22,7 +22,7 @@ enum Check if the specified argument is a switch. Return ARG_SWITCH if yes, ARG_NON_SWITCH if no and ARG_SKIP if the argument is '--' */ -bool parser_keywords_is_switch( const wcstring &cmd ); +bool parser_keywords_is_switch(const wcstring &cmd); /** @@ -32,7 +32,7 @@ bool parser_keywords_is_switch( const wcstring &cmd ); \return 1 of the command parameter is a command, 0 otherwise */ -bool parser_keywords_is_subcommand( const wcstring &cmd ); +bool parser_keywords_is_subcommand(const wcstring &cmd); /** Tests if the specified command is a reserved word, i.e. if it is @@ -43,20 +43,20 @@ bool parser_keywords_is_subcommand( const wcstring &cmd ); \param word The command name to test \return 1 of the command parameter is a command, 0 otherwise */ -bool parser_keywords_is_reserved( const wcstring &word ); +bool parser_keywords_is_reserved(const wcstring &word); /** Test if the specified string is command that opens a new block */ -bool parser_keywords_is_block( const wcstring &word); +bool parser_keywords_is_block(const wcstring &word); /** Check if the specified command is one of the builtins that cannot have arguments, any followin argument is interpreted as a new command */ -bool parser_keywords_skip_arguments( const wcstring &cmd ); +bool parser_keywords_skip_arguments(const wcstring &cmd); #endif |