Lines Matching refs:parse_mode
16 enum parse_mode { WHITESPACE, TOKEN, QUOTED_STRING }; enum
59 register enum parse_mode parse_mode; local
73 parse_mode = WHITESPACE; /* flushing whitespace */
78 printf ("character `%c', mode %d\n", *line_ptr, parse_mode);
81 while (parse_mode == WHITESPACE) {
90 parse_mode = QUOTED_STRING;
98 parse_mode = TOKEN;
105 while (parse_mode == TOKEN) {
113 parse_mode = WHITESPACE;
117 parse_mode = QUOTED_STRING;
123 while (parse_mode == QUOTED_STRING) {
139 parse_mode = TOKEN;