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:
ridiculousfish
2012-08-01 16:32:52 -07:00
parent 2e1b3325c6
commit 8185bee4b8
17 changed files with 85 additions and 85 deletions

View File

@@ -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 */