aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
authornass1pro <nass1pro@gmail.com>2020-06-15 13:00:24 +0200
committernass1pro <nass1pro@gmail.com>2020-06-15 13:00:24 +0200
commita7dae7d30b7087bcd9972792a2ee1248e081cfce (patch)
tree21c567c81a542991eb27eb4056b74df8a8d8cc0e /include/lexer.h
parent72ee131562574c4a6cb69800cdd81268b52ace84 (diff)
downloadminishell-a7dae7d30b7087bcd9972792a2ee1248e081cfce.tar.gz
minishell-a7dae7d30b7087bcd9972792a2ee1248e081cfce.tar.bz2
minishell-a7dae7d30b7087bcd9972792a2ee1248e081cfce.zip
ADD redir_parse draft
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lexer.h b/include/lexer.h
index e2abe28..bc1238c 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -21,6 +21,8 @@ enum e_token_tag
TAG_STR_DOUBLE = 1 << 10,
TAG_STR_SINGLE = 1 << 11,
TAG_STICK = 1 << 12,
+ TAG_IS_STR = TAG_STR | TAG_STR_SINGLE | TAG_STR_DOUBLE,
+ TAG_IS_REDIR = TAG_REDIR_IN | TAG_REDIR_OUT | TAG_REDIR_APPEND,
};
typedef struct