File: Make.d

package info (click to toggle)
oo2c32 1.5.0-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 8,748 kB
  • ctags: 5,415
  • sloc: ansic: 95,007; sh: 473; makefile: 344; perl: 57; lisp: 21
file content (143 lines) | stat: -rw-r--r-- 4,115 bytes parent folder | download | duplicates (3)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/* file generated by oo2c -- do not edit */
#include "Make.h"
#include "BinaryRider.h"
#include "Config.h"
#include "Error.h"
#include "Files.h"
#include "Out.h"
#include "ParamPaths.h"
#include "ParamPragmas.h"
#include "Scanner.h"
#include "Strings.h"
#include "SymbolTable.h"
#include "SymbolFile.h"
#include "SystemFlags.h"
#include "Time.h"

/* local definitions */
static ParamPragmas__PragmaState Make__pragmas;

/* function prototypes */
Make__Module Make__AddModule(Make__Module *modList, unsigned char* moduleName, int moduleName_0d, unsigned char* fileName, int fileName_0d);
unsigned char Make__AddImport_SystemModule(unsigned char* name, int name_0d);
void Make__AddImport(Make__Module *modList, Make__Import *importList, unsigned char* import, int import_0d, int pos, unsigned char hasMagic, int magic);
void Make__NameMismatch(const unsigned char* import__ref, int import_0d, const unsigned char* header__ref, int header_0d);
void Make__ScanSymbolFile_ReadImportList(BinaryRider__Reader *Make__ScanSymbolFile_r, Make__Module *Make__ScanSymbolFile_moduleList, Make__Module *Make__ScanSymbolFile_mod);
void Make__ScanSymbolFile(Make__Module *moduleList, Files__File f, Make__Module mod);
void Make__ScanSources_ImportList_GetModuleIdent(void);
void Make__ScanSources_ImportList(Make__Module *Make__ScanSources_mod, Make__Module *Make__ScanSources_moduleList);
unsigned char Make__ScanSources(Make__Module *moduleList, Make__Module mod);
unsigned char Make__ScanModule(Make__Module *moduleList, Make__Module mod, unsigned char useSources);
Make__Module Make__TopSort_RemoveBest(Make__Module *mod, short int prevBest, Make__Module *Make__TopSort_modules);
void Make__TopSort_ErrorCyclic(Make__Module mod, unsigned char Make__TopSort_msg[8192]);
Make__Module Make__TopSort(Make__Module modules, unsigned char mainFirst);
unsigned char Make__Dependencies_ImportsUnknown(Make__Module mod);
void Make__Dependencies_MarkUnknownImports(Make__Module mod, unsigned char useError);

/* module and type descriptors */
static const struct {
  int length;
  void* pad;
  const char name[5];
} _n0 = {5, NULL, {"Make"}};
static struct _MD Make_md = {
  NULL, 
  &Kernel__ModuleDesc_td.td, 
  {
    NULL, 
    (const unsigned char*)_n0.name, 
    -1, 
    NULL
  }
};

static const struct {
  int length;
  void* pad;
  const char name[11];
} _n1 = {11, NULL, {"ImportDesc"}};
static const struct {
  int length;
  void* pad;
  _Type btypes[1];
} Make__ImportDesc_tdb = {
  1, 
  NULL, 
  {
    &Make__ImportDesc_td.td
  }
};
static const struct {
  int length;
  void* pad;
  const void* tbprocs[1];
} _tb0 = {0, NULL, {
  NULL
}};
struct _TD Make__ImportDesc_td = {
  NULL,
  &Types__TypeDesc_td.td,
  {
    Make__ImportDesc_tdb.btypes,
    _tb0.tbprocs,
    (const unsigned char*)_n1.name,
    &Make_md.md,
    0, 
    '0', '1',
    sizeof(Make__ImportDesc),
    NULL
  }
};

static const struct {
  int length;
  void* pad;
  const char name[11];
} _n2 = {11, NULL, {"ModuleDesc"}};
static const struct {
  int length;
  void* pad;
  _Type btypes[1];
} Make__ModuleDesc_tdb = {
  1, 
  NULL, 
  {
    &Make__ModuleDesc_td.td
  }
};
static const struct {
  int length;
  void* pad;
  const void* tbprocs[1];
} _tb1 = {0, NULL, {
  NULL
}};
struct _TD Make__ModuleDesc_td = {
  NULL,
  &Types__TypeDesc_td.td,
  {
    Make__ModuleDesc_tdb.btypes,
    _tb1.tbprocs,
    (const unsigned char*)_n2.name,
    &Make_md.md,
    0, 
    '0', '1',
    sizeof(Make__ModuleDesc),
    &Make__ImportDesc_td.td
  }
};

/* local strings */
static const unsigned char _c11[] = "\047 imports unknown module `";
static const unsigned char _c10[] = "Error: Module `";
static const unsigned char _c9[] = "Cyclic import via";
static const unsigned char _c8[] = " ";
static const unsigned char _c7[] = "Sym";
static const unsigned char _c6[] = "Mod";
static const unsigned char _c5[] = "XXXX";
static const unsigned char _c4[] = "\047";
static const unsigned char _c3[] = "\047 implements `";
static const unsigned char _c2[] = "Module imported as `";
static const unsigned char _c1[] = "";
static const unsigned char _c0[] = "SYSTEM";