1 //
2 // C++ Interface: outlangdefscanner
3 //
4 // Description:
5 //
6 //
7 // Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2004
8 //
9 // Copyright: See COPYING file that comes with this distribution
10 //
11 //
12 
13 #ifndef OUTLANGDEFSCANNER_H
14 #define OUTLANGDEFSCANNER_H
15 
16 #include "parsestruct.h"
17 
18 extern int outlangdef_lex() ;
19 extern FILE *outlangdef_in;
20 extern srchilite::ParseStructPtr outlang_parsestruct;
21 
22 namespace srchilite {
23 
24 void open_outlang_file_to_scan(const std::string &path, const std::string &file);
25 
26 /**
27  * Closes the input file.  This is required only in case of errors during
28  * parsing (otherwise the file is closed automatically when the scanner
29  * reaches the end of file).
30  */
31 void close_outlangdefinputfile();
32 
33 /**
34  * Releases resources allocated by the scanner
35  */
36 void clear_outlangdefscanner();
37 
38 }
39 
40 #endif // OUTLANGDEFSCANNER_H
41