Lines Matching refs:macro
1110 int interpret(macro *);
1147 int non_interpreted_char_node::interpret(macro *mac)
2155 macro *m = p->to_macro();
2523 // This will only happen if a trap-invoked macro starts a diversion,
2973 macro *request_or_macro::to_macro()
3150 macro::~macro()
3156 macro::macro()
3168 macro::macro(const macro &m)
3176 macro::macro(int is_div)
3188 int macro::is_diversion()
3193 macro ¯o::operator=(const macro &m)
3209 void macro::append(unsigned char c)
3226 void macro::set(unsigned char c, int offset)
3233 unsigned char macro::get(int offset)
3239 int macro::length()
3244 void macro::append_str(const char *s)
3256 void macro::append(node *n)
3273 void macro::append_unsigned(unsigned int i)
3281 void macro::append_int(int i)
3290 void macro::print_size()
3325 macro *m = rm->to_macro();
3337 macro mac;
3349 string_iterator(const macro &m, const char *p = 0, symbol s = NULL_SYMBOL);
3359 string_iterator::string_iterator(const macro &m, const char *p, symbol s)
3572 macro mac;
3574 arg_list(const macro &);
3578 arg_list::arg_list(const macro &m) : mac(m), next(0)
3590 macro_iterator(symbol, macro &, const char *how_invoked = "macro");
3596 void add_arg(const macro &m);
3618 void macro_iterator::add_arg(const macro &m)
3640 int operator==(const macro &m1, const macro &m2)
3688 macro *m = r->to_macro();
3691 "macro `%1' not defined "
3697 warning(WARN_MAC, "macro `%1' not defined", nm.contents());
3698 p = new macro;
3720 macro arg;
3745 warning(WARN_TAB, "tab character in unquoted macro argument");
3772 macro arg;
3809 void macro::invoke(symbol nm)
3817 macro *macro::to_macro()
3822 int macro::empty()
3827 macro_iterator::macro_iterator(symbol s, macro &m, const char *how_called)
3956 macro *m = p->to_macro();
3958 input_stack::push(new macro_iterator(nm, *m, "trap-invoked macro"));
4008 macro mac;
4061 macro mac;
4063 macro *mm = rm ? rm->to_macro() : 0;
4078 mm = new macro;
4142 macro *m = new macro;
4179 macro *m = ci->set_macro(0);
4191 macro *m = p->to_macro();
4193 error("you can only invoke a string or macro using \\*");
4203 macro *m = p->to_macro();
4205 error("you can only invoke a string or macro using \\*");
4278 macro m;
4294 macro mac;
4348 macro mac;
4349 macro *mm = 0;
4395 mm = new macro;
4421 "end of file while defining macro `%1'",
4424 error("end of file while defining macro `%1'", nm.contents());
4527 warning(WARN_MAC, "macro `%1' not defined", s2.contents());
4538 macro *m = p->to_macro();
4542 error("cannot chop empty macro");
4561 error("cannot chop empty macro");
4579 macro *m = p->to_macro();
4640 macro mac;
4705 macro *m = p->to_macro();
4709 macro am;
4732 macro *m = p->to_macro();
4736 macro am;
5103 macro mac;
5105 non_interpreted_node(const macro &);
5106 int interpret(macro *);
5115 non_interpreted_node::non_interpreted_node(const macro &m) : mac(m)
5149 int non_interpreted_node::interpret(macro *m)
5169 macro mac;
5182 static void encode_char(macro *mac, char c)
5225 macro mac;
5602 macro mac;
6266 macro *m = p->to_macro();
7071 fatal("can't find macro file %1", mac);
7132 error("can't find macro file `%1'", nm.contents());
7191 macro *m = new macro;
7696 warning(WARN_MAC, "macro `%1' not defined", nm.contents());
7697 p = new macro;
7710 macro *mac = ci->set_macro(0);
8152 macro *charinfo::set_macro(macro *m)
8154 macro *tem = mac;
8159 macro *charinfo::setx_macro(macro *m, char_mode cm)
8161 macro *tem = mac;