annotate place.h @ 14:5045b9678bb0

woops
author David A. Holland
date Sun, 19 Dec 2010 19:51:36 -0500
parents 120629a5d6bf
children 76da41da923f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
6c15ca895585 improve places more
David A. Holland
parents: 11
diff changeset
1
6c15ca895585 improve places more
David A. Holland
parents: 11
diff changeset
2 enum places {
6c15ca895585 improve places more
David A. Holland
parents: 11
diff changeset
3 P_NOWHERE,
6c15ca895585 improve places more
David A. Holland
parents: 11
diff changeset
4 P_BUILTIN,
6c15ca895585 improve places more
David A. Holland
parents: 11
diff changeset
5 P_COMMANDLINE,
6c15ca895585 improve places more
David A. Holland
parents: 11
diff changeset
6 P_FILE,
6c15ca895585 improve places more
David A. Holland
parents: 11
diff changeset
7 };
8
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
8 struct place {
12
6c15ca895585 improve places more
David A. Holland
parents: 11
diff changeset
9 enum places type;
13
120629a5d6bf seenfile -> placefile (clearer)
David A. Holland
parents: 12
diff changeset
10 const struct placefile *file;
8
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
11 unsigned line;
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
12 unsigned column;
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
13 };
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
14
10
800f3a560a3b move seenfiles to place.c too
David A. Holland
parents: 8
diff changeset
15 void place_init(void);
800f3a560a3b move seenfiles to place.c too
David A. Holland
parents: 8
diff changeset
16 void place_cleanup(void);
800f3a560a3b move seenfiles to place.c too
David A. Holland
parents: 8
diff changeset
17
8
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
18 void place_setnowhere(struct place *p);
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
19 void place_setbuiltin(struct place *p, unsigned num);
14
David A. Holland
parents: 13
diff changeset
20 void place_setcommandline(struct place *p, unsigned word, unsigned column);
David A. Holland
parents: 13
diff changeset
21 void place_setfilestart(struct place *p, const struct placefile *pf);
8
97243badae69 split place stuff to its own file
David A. Holland
parents:
diff changeset
22
13
120629a5d6bf seenfile -> placefile (clearer)
David A. Holland
parents: 12
diff changeset
23 const struct placefile *place_addfile(const struct place *incplace,
120629a5d6bf seenfile -> placefile (clearer)
David A. Holland
parents: 12
diff changeset
24 const char *name, bool fromsystemdir);