Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison directive.h @ 164:f14f5352956c
Merge upstream into Joerg's changes.
author | David A. Holland |
---|---|
date | Fri, 12 Jun 2015 01:00:38 -0400 |
parents | d6e6b3940780 a2c2fe8dbea3 |
children |
comparison
equal
deleted
inserted
replaced
163:e1dfa3f90b6c | 164:f14f5352956c |
---|---|
27 * POSSIBILITY OF SUCH DAMAGE. | 27 * POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #include <stddef.h> | 30 #include <stddef.h> |
31 | 31 |
32 struct place; | 32 #include "place.h" |
33 | |
34 /* | |
35 * Relevant places while we're processing a line: | |
36 * the place in the current line | |
37 * the beginning of the next line | |
38 */ | |
39 struct lineplace { | |
40 struct place current; | |
41 struct place nextline; | |
42 }; | |
33 | 43 |
34 void directive_init(void); | 44 void directive_init(void); |
35 void directive_cleanup(void); | 45 void directive_cleanup(void); |
36 | 46 |
37 void directive_gotline(struct place *p, struct place *np, char *line, size_t len); | 47 void directive_gotline(struct lineplace *lp, char *line, size_t len); |
38 void directive_goteof(struct place *p); | 48 void directive_goteof(struct place *p); |
39 | 49 |