blob: 09c3eaeec60177ba57ca5a4502933353b65baf67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <istream>
#include <connection.h>
class sqlFlexLexer : public yyFlexLexer {
public:
sqlFlexLexer(std::istream &, DB::Connection *);
int yylex();
void Comment(const std::string &);
void Statement(const std::string &);
protected:
void LexerOutput(const char *, int) override;
private:
DB::Connection * conn;
};
|