diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-08-27 09:29:42 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-08-27 09:29:42 +0200 |
| commit | 454d439575489934791c04329df6e82e56dabf54 (patch) | |
| tree | 3beaa9ec4eec1e95898d26d77f88cceaff5978d9 /src/parse | |
| parent | cde465358750ef03b66655edcbef468a4a2f210b (diff) | |
| download | minishell-454d439575489934791c04329df6e82e56dabf54.tar.gz minishell-454d439575489934791c04329df6e82e56dabf54.tar.bz2 minishell-454d439575489934791c04329df6e82e56dabf54.zip | |
Renaming e_token_tag -> e_tok
Diffstat (limited to 'src/parse')
| -rw-r--r-- | src/parse/cmd_parse.c | 2 | ||||
| -rw-r--r-- | src/parse/parse.c | 8 | ||||
| -rw-r--r-- | src/parse/redir_parse.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/parse/cmd_parse.c b/src/parse/cmd_parse.c index 25802c1..bb68dac 100644 --- a/src/parse/cmd_parse.c +++ b/src/parse/cmd_parse.c @@ -2,7 +2,7 @@ #include "parser.h" -int parse_cmd_str_true_false(enum e_token_tag tag) +int parse_cmd_str_true_false(enum e_tok tag) { if (tag & TAG_STR || tag & TAG_STR_DOUBLE || tag & TAG_STR_SINGLE) return (1); diff --git a/src/parse/parse.c b/src/parse/parse.c index 29b3ccb..b1df5ce 100644 --- a/src/parse/parse.c +++ b/src/parse/parse.c @@ -42,7 +42,7 @@ t_ret *ret_wrap_ast(t_ast *ast, t_ftlst *rest) t_ret *parse_redir(t_ftlst *input, t_ftlst **redirs) { - enum e_token_tag tag; + enum e_tok tag; t_ret *tmp; push_token(redirs, input->data); @@ -77,7 +77,7 @@ t_ret *parse_redir(t_ftlst *input, t_ftlst **redirs) t_ret *parse_cmd(t_ftlst *input) { - enum e_token_tag tag; + enum e_tok tag; t_ast *ast; t_ret *tmp; @@ -120,7 +120,7 @@ t_ret *parse_op(t_ftlst *input) t_ast *ast; t_ret *left_ret; t_ret *right_ret; - enum e_token_tag tag; + enum e_tok tag; t_ret *tmp; left_ret = parse_expr(input); @@ -159,7 +159,7 @@ t_ret *parse_op(t_ftlst *input) t_ret *parse_expr(t_ftlst *input) { t_ret *tmp; - enum e_token_tag tag; + enum e_tok tag; t_ast *new_ast; tag = ((t_token*)input->data)->tag; diff --git a/src/parse/redir_parse.c b/src/parse/redir_parse.c index 768506e..ebd6583 100644 --- a/src/parse/redir_parse.c +++ b/src/parse/redir_parse.c @@ -1,7 +1,7 @@ #include "parser.h" -int parse_redir_true_false(enum e_token_tag tag) +int parse_redir_true_false(enum e_tok tag) { if (tag & TAG_IS_REDIR) return (1); |
