feat(parser): redirections
This commit is contained in:
parent
04ff7376eb
commit
8a5c589742
17 changed files with 78 additions and 108 deletions
|
|
@ -8,7 +8,8 @@
|
|||
/*
|
||||
* @brief parses a redirection rule
|
||||
*
|
||||
* @code redirection = [IONUMBER] ( '>' | '<' | '>>' | '>&' | '<&' | '>|' | '<>' ) WORD ;
|
||||
* @code redirection = [IONUMBER] ( '>' | '<' | '>>' | '>&' | '<&' | '>|' | '<>'
|
||||
* ) WORD ;
|
||||
*
|
||||
* @first TOKEN_IONUMBER, TOKEN_REDIRECTION
|
||||
*/
|
||||
|
|
@ -23,5 +24,4 @@ struct ast *parse_redirection(struct lexer_context *ctx);
|
|||
*/
|
||||
struct ast *parse_prefix(struct lexer_context *ctx);
|
||||
|
||||
|
||||
#endif /* ! GRAMMAR_ADVANCED_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue