diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-10-13 16:58:40 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-10-13 16:58:40 -0700 |
commit | ce857b077048ced8326e21161385d2bd823c4e05 (patch) | |
tree | da0463731cb41e0b453518505835baedec52bc4d /tokenizer.h | |
parent | ce7c681462a34a0bb04b23b35dfdf7337a4e4dab (diff) |
Syntax highlighting for file redirections
Diffstat (limited to 'tokenizer.h')
-rw-r--r-- | tokenizer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tokenizer.h b/tokenizer.h index dec206a5..8e130f0e 100644 --- a/tokenizer.h +++ b/tokenizer.h @@ -187,6 +187,9 @@ const wchar_t *tok_get_desc(int type); */ int tok_get_error(tokenizer_t *tok); +/* Helper function to determine redirection type from a string, or TOK_NONE if the redirection is invalid */ +enum token_type redirection_type_for_string(const wcstring &str); + enum move_word_style_t { move_word_style_punctuation, //stop at punctuation |