Lines Matching refs:parse_mode
25 enum parse_mode { WHITESPACE, TOKEN, QUOTED_STRING }; enum
50 register enum parse_mode parse_mode; in ss_parse() local
62 parse_mode = WHITESPACE; /* flushing whitespace */ in ss_parse()
67 printf ("character `%c', mode %d\n", *line_ptr, parse_mode); in ss_parse()
70 while (parse_mode == WHITESPACE) { in ss_parse()
79 parse_mode = QUOTED_STRING; in ss_parse()
93 parse_mode = TOKEN; in ss_parse()
106 while (parse_mode == TOKEN) { in ss_parse()
114 parse_mode = WHITESPACE; in ss_parse()
118 parse_mode = QUOTED_STRING; in ss_parse()
124 while (parse_mode == QUOTED_STRING) { in ss_parse()
138 parse_mode = TOKEN; in ss_parse()