annotate macro.h @ 16:9dda765ee85c

expression evaluator
author David A. Holland
date Mon, 20 Dec 2010 00:32:20 -0500
parents f6177d3ed5c2
children 76da41da923f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
1 struct place;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
2
15
f6177d3ed5c2 handle directives
David A. Holland
parents: 4
diff changeset
3 void macro_define(struct place *, const char *macro,
f6177d3ed5c2 handle directives
David A. Holland
parents: 4
diff changeset
4 struct place *, const char *expansion);
4
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
5 void macro_undef(const char *macro);
15
f6177d3ed5c2 handle directives
David A. Holland
parents: 4
diff changeset
6 bool macro_isdefined(const char *macro);
f6177d3ed5c2 handle directives
David A. Holland
parents: 4
diff changeset
7
f6177d3ed5c2 handle directives
David A. Holland
parents: 4
diff changeset
8 char *macroexpand(struct place *, char *buf, size_t len, bool honordefined);
f6177d3ed5c2 handle directives
David A. Holland
parents: 4
diff changeset
9
f6177d3ed5c2 handle directives
David A. Holland
parents: 4
diff changeset
10 void macro_sendline(struct place *, char *buf, size_t len);
f6177d3ed5c2 handle directives
David A. Holland
parents: 4
diff changeset
11 void macro_sendeof(struct place *);