-
Notifications
You must be signed in to change notification settings - Fork 2
/
globals.h
102 lines (86 loc) · 1.78 KB
/
globals.h
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
// Copyright (C) 1999-2012 Core Technologies.
//
// This file is part of tpasm.
//
// tpasm is free software; you can redistribute it and/or modify
// it under the terms of the tpasm LICENSE AGREEMENT.
//
// tpasm is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// tpasm LICENSE AGREEMENT for more details.
//
// You should have received a copy of the tpasm LICENSE AGREEMENT
// along with tpasm; see the file "LICENSE.TXT".
extern unsigned int
numAllocatedPointers;
extern const char
*programName;
extern const char
*sourceFileName;
extern const char
*listFileName;
extern FILE
*listFile;
extern const char
*defaultProcessorName;
extern bool
infoOnly;
extern unsigned int
includeDepth;
extern unsigned int
passCount;
extern unsigned int
maxPasses;
extern unsigned int
numUnresolvedLabels,
numModifiedLabels;
extern bool
intermediatePass;
extern unsigned int
numBytesGenerated;
extern char
scope[MAX_STRING];
extern unsigned int
scopeCount;
extern unsigned int
scopeValue;
extern unsigned int
blockDepth;
extern CONTEXT_RECORD
*contextStack;
extern TEXT_BLOCK
*collectingBlock;
extern ALIAS_RECORD
*aliasesHead;
extern MACRO_RECORD
*macrosHead;
extern SYM_TABLE
*fileNameSymbols;
extern SYM_TABLE_NODE
*currentFile,
*currentVirtualFile;
extern LABEL_RECORD
*labelsHead;
extern unsigned int
currentFileLine;
extern unsigned int
currentVirtualFileLine;
extern bool
strictPseudo;
extern unsigned int
errorCount,
warningCount;
extern bool
displayWarnings,
displayDiagnostics;
extern bool
stopParsing;
extern bool
outputListing;
extern bool
outputListingExpansions;
extern SEGMENT_RECORD
*currentSegment,
*segmentsHead,
*segmentsTail;