mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 08:51:14 -03:00
Lots of work towards making fish build without warnings on Mountain Lion, mostly in terms of using size_t instead of int
This commit is contained in:
10
tokenizer.h
10
tokenizer.h
@@ -79,15 +79,13 @@ struct tokenizer
|
||||
/** Length of last token*/
|
||||
size_t last_len;
|
||||
/** Offset of last token*/
|
||||
int last_pos;
|
||||
size_t last_pos;
|
||||
/** Whether there are more tokens*/
|
||||
int has_next;
|
||||
bool has_next;
|
||||
/** Whether incomplete tokens are accepted*/
|
||||
int accept_unfinished;
|
||||
bool accept_unfinished;
|
||||
/** Whether commants should be returned*/
|
||||
int show_comments;
|
||||
/** Flag set to true of the orig_buff points to an internal string that needs to be free()d when deallocating the tokenizer. */
|
||||
int free_orig;
|
||||
bool show_comments;
|
||||
/** Type of last quote, can be either ' or ".*/
|
||||
wchar_t last_quote;
|
||||
/** Last error */
|
||||
|
||||
Reference in New Issue
Block a user