back to scratko.xyz
summaryrefslogtreecommitdiff
path: root/lexical_analysis.h
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-11-23 01:24:26 +0300
committerscratko <m@scratko.xyz>2024-11-23 21:36:30 +0300
commit4a41d75085d5135c1ff521c02afbb2afe7d38533 (patch)
tree9996d731e6a675b0a4cfe307d936b252b1903c3a /lexical_analysis.h
parent52f877a23cd26f57393e20b6fffef0dc4e093315 (diff)
downloadshell-4a41d75085d5135c1ff521c02afbb2afe7d38533.tar.gz
shell-4a41d75085d5135c1ff521c02afbb2afe7d38533.tar.bz2
shell-4a41d75085d5135c1ff521c02afbb2afe7d38533.zip
Shell-VII release
Diffstat (limited to 'lexical_analysis.h')
-rw-r--r--lexical_analysis.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lexical_analysis.h b/lexical_analysis.h
index 9d7d556..7fc1734 100644
--- a/lexical_analysis.h
+++ b/lexical_analysis.h
@@ -12,18 +12,19 @@ int ignore_spaces(int ch, struct param_type params);
int change_mode(int ch, struct param_type params);
int start_escape_sequence(int ch, struct param_type params);
int is_empty_word(int ch, struct param_type params);
-int command_execution_condition(struct param_type *params);
+int command_execution_condition(struct param_type *params,
+ struct readline_type *readline);
int is_special_token(int ch, int next_ch);
int is_redirect_token(int ch, int next_ch);
-int excessive_words(int ch, struct param_type *params);
+int excessive_words(int ch, struct param_type *params,
+ struct readline_type *readline);
void add_word_or_filename(struct w_queue *word_chain,
struct dynamic_array *tmp_word,
struct param_type *params);
int validate_redirections(int ch, int next_ch, struct param_type *params);
-int is_double_token(struct param_type *params);
int stream_redirect_tokens(struct w_queue *word_chain,
struct dynamic_array *tmp_word,
@@ -38,7 +39,7 @@ int pipeline_token_processing(struct w_queue *word_chain,
struct param_type *params);
int special_tokens(struct w_queue *word_chain, struct c_queue *cmdlines,
- struct dynamic_array *tmp_word, int ch,
+ struct dynamic_array *tmp_word, int *ch,
struct param_type *params, struct readline_type *readline);
#endif