File: define.h

package info (click to toggle)
clif 0.93-9.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 4,228 kB
  • sloc: ansic: 31,464; yacc: 5,067; lex: 819; makefile: 383; sh: 48
file content (42 lines) | stat: -rw-r--r-- 1,194 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 * define.h
 *
 * Clif's memory regions.
 */

#ifndef _DEFINE_H
#define _DEFINE_H

#ifndef BC		      /* Constant for size of the framework. */
#define BC 10
#endif


/* \verbatim{define_h_SIZE_SPACE.tex} */

#define SIZE_SPACE  210       /* Memory size in pages. */
#define SIZE_ARIT_STACK 7     /* Size of the arithmetical stack in pages. */
#define SIZE_TMP_STACK 52     /* Size of stack of temporaries in pages. */

/* \verbatim */

/* \verbatim{define_h_PAGE.tex} */

#define PAGE        512       /* Size of a page. */
#define SIZE_HAS   1999       /* Size of hash table. */
#define SIZE_HAS_LOC 401      /* Size of hash table for locals. */
#define SIZE_HAS_GOTO 257     /* Size of hash table for goto
				 labels. */
#define MAX_IDENT    1999     /* Max number of variables */
#define MAX_IDENT_LOC  401    /* Max number of local variables. */
#define SIZE_ADR_STACK 256    /* Size of address stack (obsolete). */
#define SIZE_STRUCT_FIX 256   /* Size of the stack of fixative structures. */ 
#define SIZE_REMOTE 1999      /* Size of hash table for remote function 
				 names. */

/* \verbatim */

#define MASKA 3		       /* Mask for arrays of type char. */


#endif /* _DEFINE_H */