aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser_keywords.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-18 16:30:30 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-18 16:30:30 -0800
commit9992b8eb0e3366ff8a3948aa0b66a19c3c12c737 (patch)
tree6dda0fef85812016fbba9ea067c9d586092b506d /parser_keywords.h
parentbab69f26724028d16054a3daf5c78aad7c67bb2d (diff)
Apply new indentation, brace, and whitespace style
Diffstat (limited to 'parser_keywords.h')
-rw-r--r--parser_keywords.h16
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