diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2011-12-26 19:18:46 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2011-12-26 19:18:46 -0800 |
commit | 8d2f107d61a8b0e099ab9a59b8a32c236da5a5fc (patch) | |
tree | 89f718ab74f8400332534aee237c6f925348f05c /tokenizer.h | |
parent | 3f16ace6784caab54fb054836ee93902e9701913 (diff) |
Some changes to migrate towards C++ and a multithreaded model
Diffstat (limited to 'tokenizer.h')
-rw-r--r-- | tokenizer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tokenizer.h b/tokenizer.h index b2d5905f..3954cc48 100644 --- a/tokenizer.h +++ b/tokenizer.h @@ -1,4 +1,4 @@ -/** \file tokenizer.h +/** \file tokenizer.h A specialized tokenizer for tokenizing the fish language. In the future, the tokenizer should be extended to support marks, @@ -60,7 +60,7 @@ enum tokenizer_error /** - The tokenizer struct. + The tokenizer struct. */ typedef struct { @@ -70,7 +70,7 @@ typedef struct wchar_t *orig_buff; /** A pointer to the last token*/ wchar_t *last; - + /** Type of last token*/ int last_type; /** Length of last token*/ @@ -102,7 +102,7 @@ tokenizer; \param flags Flags to the tokenizer. Setting TOK_ACCEPT_UNFINISHED will cause the tokenizer to accept incomplete tokens, such as a subshell without a closing parenthesis, as a valid token. Setting TOK_SHOW_COMMENTS will return comments as tokens - + */ void tok_init( tokenizer *tok, const wchar_t *b, int flags ); |