~ubuntu-branches/ubuntu/quantal/mysql-workbench/quantal

« back to all changes in this revision

Viewing changes to library/sql-parser/include/myx_lex_helpers.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2012-03-01 21:57:30 UTC
  • Revision ID: package-import@ubuntu.com-20120301215730-o7y8av8y38n162ro
Tags: upstream-5.2.38+dfsg
ImportĀ upstreamĀ versionĀ 5.2.38+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef myx_lex_helpers_h
 
2
#define myx_lex_helpers_h
 
3
 
 
4
#include <iostream>
 
5
#include <fstream>
 
6
 
 
7
namespace mysql_parser
 
8
{
 
9
 
 
10
extern const void *tree;
 
11
 
 
12
struct Lex_args
 
13
{
 
14
  void *arg1;
 
15
  void *arg2;
 
16
};
 
17
extern struct Lex_args lex_args;
 
18
 
 
19
extern std::istream* lex_input_stream;
 
20
 
 
21
extern int yylex(void **yylval);
 
22
extern void yyerror(const char *msg);
 
23
//extern int yywrap();
 
24
//extern void yy_custom_input(char *buf, int* result, int max_size);
 
25
//extern int yy_token_match(int token, const char *value);
 
26
//int yy_unknown_token(const char *value);
 
27
//extern FILE *yyin;
 
28
//extern HANDLE h_file;
 
29
 
 
30
} // namespace mysql_parser
 
31
 
 
32
extern int yyparse();
 
33
 
 
34
#endif // myx_lex_helpers_h