]> 4ch.mooo.com Git - 16.git/blob - 16/v2/source/verge/VCC/LEXICAL.H
wwww
[16.git] / 16 / v2 / source / verge / VCC / LEXICAL.H
1 /*\r
2 Copyright (C) 1998 BJ Eirich (aka vecna)\r
3 This program is free software; you can redistribute it and/or\r
4 modify it under the terms of the GNU General Public License\r
5 as published by the Free Software Foundation; either version 2\r
6 of the License, or (at your option) any later version.\r
7 This program is distributed in the hope that it will be useful,\r
8 but WITHOUT ANY WARRANTY; without even the implied warranty of\r
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r
10 See the GNU General Public Lic\r
11 See the GNU General Public License for more details.\r
12 You should have received a copy of the GNU General Public License\r
13 along with this program; if not, write to the Free Software\r
14 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
15 */\r
16 \r
17 #if !defined(__LEXICAL_INC)\r
18 #define __LEXICAL_INC\r
19 \r
20 extern void ParseWhitespace();\r
21 extern void GetNumber();\r
22 extern void GetToken();\r
23 extern void InitCompileSystem();\r
24 extern int NextIs(char *str);\r
25 \r
26 extern void GetString(void);\r
27 \r
28 extern char token[2000];                 // Token buffer\r
29 extern unsigned int token_nvalue;        // int value of token if it's type DIGIT\r
30 extern char token_type;                  // type of current token.\r
31 extern char token_subtype;               // This is just crap.\r
32 extern unsigned char chr_table[256];              // Character type table.\r
33 extern char returntypes[];\r
34 extern int lines, tlines;\r
35 extern char *source_file;\r
36 \r
37 extern char TokenIs(char *str);\r
38 extern void Expect(char *str);\r
39 \r
40 extern int numhardfuncs, funcidx;\r
41 extern int varcategory, numhardvar0;\r
42 extern int numhardvar1;\r
43 extern char *hardfuncs[];\r
44 extern char *hardvar0[];\r
45 extern char *hardvar1[];\r
46 \r
47 #endif // __LEXICAL_INC\r