aboutsummaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/cmd_parse.c2
-rw-r--r--src/parse/parse.c8
-rw-r--r--src/parse/redir_parse.c2
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);