2 * (c) 2010 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
3 * Alexander Warg <warg@os.inf.tu-dresden.de>
4 * economic rights: Technische Universität Dresden (Germany)
6 * This file is part of TUD:OS and distributed under the terms of the
7 * GNU General Public License 2.
8 * Please see the COPYING-GPL-2 file for details.
12 #include "cfg_parser.tab.hh"
19 typedef cfg::Parser::token Token;
20 typedef cfg::Parser::token::yytokentype Token_type;
22 Token_type lex(cfg::Parser::semantic_type*, cfg::location*);
24 explicit Scanner(char const *zts);
25 explicit Scanner(char const *s, char const *e, const char *filename);
36 char const *_filename;
41 #define YY_EXTRA_TYPE cfg::Scanner *