1 /******************************************************************************
2 *
3 * Copyright (C) 2006-08, The Gentee Group. All rights reserved.
4 * This file is part of the Gentee open source project - http://www.gentee.com.
5 *
6 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE GENTEE LICENSE ("AGREEMENT").
7 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS
8 * ACCEPTANCE OF THE AGREEMENT.
9 *
10 * Author: Alexey Krivonogov ( gentee )
11 *
12 ******************************************************************************/
13
14 #ifndef _COMPINIT_
15 #define _COMPINIT_
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif // __cplusplus
20
21 #include "../bytecode/cmdlist.h"
22 #include "operlist.h"
23
24 //--------------------------------------------------------------------------
25
26 extern uint _lexlist[ OPERCOUNT ];
27
28 #define oper2name( x ) _lexlist[ x ]
29
30 void STDCALL initcompile( void );
31
32 //--------------------------------------------------------------------------
33
34
35 #ifdef __cplusplus
36 }
37 #endif // __cplusplus
38
39 #endif // _COMPINIT_
40
41