Lines Matching defs:state
78 enum { LOOK, COMMENT, NAME, VALUE, MVALUE, COMMIT, FILL, STOP } state, last_state;
83 state = last_state = LOOK;
84 while (state != STOP) {
85 if (state != COMMIT) {
87 last_state = state;
88 state = FILL;
92 switch(state) {
99 state = STOP;
102 * Restore the state from before the fill (which will be
104 * if we were part-way through eg., a VALUE state, when the
108 state = last_state;
119 state = COMMENT;
125 state = COMMENT;
129 state = NAME;
133 state = COMMENT; /* Ignore the rest of the line */
138 state = LOOK;
146 state = COMMIT;
153 state = VALUE;
163 state = COMMIT;
168 state = MVALUE;
174 state = COMMIT;
178 state = COMMENT;
191 state = COMMENT;
197 state = COMMIT;
217 state = LOOK;