Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison place.h @ 13:120629a5d6bf
seenfile -> placefile (clearer)
author | David A. Holland |
---|---|
date | Sun, 19 Dec 2010 19:49:43 -0500 |
parents | 6c15ca895585 |
children | 5045b9678bb0 |
comparison
equal
deleted
inserted
replaced
12:6c15ca895585 | 13:120629a5d6bf |
---|---|
5 P_COMMANDLINE, | 5 P_COMMANDLINE, |
6 P_FILE, | 6 P_FILE, |
7 }; | 7 }; |
8 struct place { | 8 struct place { |
9 enum places type; | 9 enum places type; |
10 struct seenfile *file; | 10 const struct placefile *file; |
11 unsigned line; | 11 unsigned line; |
12 unsigned column; | 12 unsigned column; |
13 }; | 13 }; |
14 | 14 |
15 void place_init(void); | 15 void place_init(void); |
17 | 17 |
18 void place_setnowhere(struct place *p); | 18 void place_setnowhere(struct place *p); |
19 void place_setbuiltin(struct place *p, unsigned num); | 19 void place_setbuiltin(struct place *p, unsigned num); |
20 void place_setcommandline(struct place *p, unsigned word); | 20 void place_setcommandline(struct place *p, unsigned word); |
21 | 21 |
22 struct seenfile *place_seen_file(const struct place *p, char *name, bool fromsystemdir); | 22 const struct placefile *place_addfile(const struct place *incplace, |
23 const char *name, bool fromsystemdir); |