Lines Matching defs:input_stack
44 friend class input_stack;
97 class input_stack {
112 input_item *input_stack::top = 0;
114 void input_stack::init()
123 int input_stack::get_char()
136 int input_stack::peek_char()
149 void input_stack::push_file(const char *fn)
219 void input_stack::push_string(string &s, const char *filename, int lineno)
226 void input_stack::error(const char *format, const errarg &arg1,
242 input_stack::error(format, arg1, arg2, arg3);
258 int c = input_stack::get_char();
262 c = input_stack::get_char();
266 if (c == '\\' && input_stack::peek_char() == '\n')
267 input_stack::skip_char();
270 c = input_stack::get_char();
278 c = input_stack::peek_char();
281 input_stack::skip_char();
283 int d = input_stack::peek_char();
285 input_stack::skip_char();
290 int d = input_stack::peek_char();
292 input_stack::skip_char();
303 c = input_stack::peek_char();
306 input_stack::skip_char();
308 int d = input_stack::peek_char();
310 input_stack::skip_char();
336 input_stack::push_file(argv[0].s);
701 input_stack::error("missing argument for command `%1'", name);
714 input_stack::error("argument %1 for command `%2' must be an integer",
725 input_stack::error("argument %1 for command `%2' must be a list of fields",
734 input_stack::error("argument %1 for command `%2' must be a field name",
751 input_stack::error("too many arguments for command `%1'", name);
766 input_stack::error("unknown command `%1'", name);
799 input_stack::init();
800 input_stack::push_file(file);
806 input_stack::init();
807 input_stack::push_string(s, file, lineno);