1 /*
2      PLIB - A Suite of Portable Game Libraries
3      Copyright (C) 1998,2002  Steve Baker
4 
5      This library is free software; you can redistribute it and/or
6      modify it under the terms of the GNU Library General Public
7      License as published by the Free Software Foundation; either
8      version 2 of the License, or (at your option) any later version.
9 
10      This library is distributed in the hope that it will be useful,
11      but WITHOUT ANY WARRANTY; without even the implied warranty of
12      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13      Library General Public License for more details.
14 
15      You should have received a copy of the GNU Library General Public
16      License along with this library; if not, write to the Free Software
17      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18 
19      For further information visit http://plib.sourceforge.net
20 
21      $Id: pslLocal.h 1707 2002-09-27 15:45:06Z sjbaker $
22 */
23 
24 
25 #include <stdio.h>
26 #include <stdlib.h>
27 #include <string.h>
28 #include <ctype.h>
29 
30 #include "psl.h"
31 #include "ul.h"
32 
33 #ifndef TRUE
34 #define TRUE  1
35 #define FALSE 0
36 #endif
37 
38 /* Limits */
39 
40 #define MAX_ARGS         64
41 #define MAX_VARIABLE    256
42 #define MAX_LABEL       256
43 #define MAX_TOKEN      1024
44 #define MAX_CODE      65536
45 #define MAX_STACK       256
46 #define MAX_NESTING      32
47 #define MAX_UNGET        64
48 #define MAX_UNGET_CHAR 1024
49 #define MAX_SYMBOL  (MAX_VARIABLE + MAX_LABEL)
50 #define MAX_INCLUDE_DEPTH  8
51 
52 typedef unsigned short pslAddress  ;
53 
54 extern int _pslInitialised ;
55 
56 #include "pslFileIO.h"
57 #include "pslOpcodes.h"
58 #include "pslSymbol.h"
59 #include "pslCompiler.h"
60 #include "pslContext.h"
61 
62 char* _pslMakeScriptPath ( char* path, const char* fname ) ;
63 
64