Lines Matching refs:prev
77 Header_t* prev;
93 if (state->prev)
95 sfprintf(op, "%s<%s%s>\n", (!state->push && (state->prev->lex == HEADER || state->prev->lex == CODE && state->last != '\n')) ? "\n" : "", state->push ? "" : "/", state->prev->out);
96 state->prev = 0;
103 if (state->prev)
105 if (head->lex == LINK && state->prev->lex == NAME && state->push)
107 if (head->lex == LINE && state->prev->lex == HEADER && !state->push)
109 if (head->lex == HEADER && push && state->prev->lex == HEADER && !state->push)
111 state->prev = 0;
114 if (state->keep && (state->prev->lex != head->lex || !head->unary && state->push))
115 sfprintf(op, "%s<%s%s>\n", (!state->push && (state->prev->lex == HEADER || state->prev->lex == CODE && state->last != '\n')) ? "\n" : "", state->push ? "" : "/", state->prev->out);
116 if (head->lex == LINE && state->prev->lex == BODY && !state->push)
122 state->prev = 0;
129 state->prev = (Header_t*)head;
134 if (state->keep && state->prev)
136 if (state->prev->lex == head->lex && state->push)
138 state->prev = 0;
141 sfprintf(op, "%s<%s%s>\n", (!state->push && (state->prev->lex == HEADER || state->prev->lex == CODE && state->last != '\n')) ? "\n" : "", state->push ? "" : "/", state->prev->out);
143 state->prev = (Header_t*)head;
174 state.prev = (Header_t*)&header[*(state.lex = lex) = LINE];