Lines Matching refs:parse_mode
24 enum parse_mode { WHITESPACE, TOKEN, QUOTED_STRING };
49 register enum parse_mode parse_mode;
61 parse_mode = WHITESPACE; /* flushing whitespace */
66 printf ("character `%c', mode %d\n", *line_ptr, parse_mode);
69 while (parse_mode == WHITESPACE) {
78 parse_mode = QUOTED_STRING;
86 parse_mode = TOKEN;
97 while (parse_mode == TOKEN) {
105 parse_mode = WHITESPACE;
109 parse_mode = QUOTED_STRING;
115 while (parse_mode == QUOTED_STRING) {
129 parse_mode = TOKEN;