-
Notifications
You must be signed in to change notification settings - Fork 1
/
asmif.h
52 lines (42 loc) · 1.67 KB
/
asmif.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
#ifndef _ASMIF_H
#define _ASMIF_H
/* asmif.h */
/*****************************************************************************/
/* AS-Portierung */
/* */
/* Befehle zur bedingten Assemblierung */
/* */
/* Historie: 15. 5.1996 Grundsteinlegung */
/* */
/*****************************************************************************/
/* $Id: asmif.h,v 1.1 2003/11/06 02:49:18 alfred Exp $ */
/*****************************************************************************
* $Log: asmif.h,v $
* Revision 1.1 2003/11/06 02:49:18 alfred
* - recreated
*
* Revision 1.2 2002/05/01 15:56:09 alfred
* - print start line of IF/SWITCH construct when it ends
*
*
*****************************************************************************/
typedef struct _TIfSave
{
struct _TIfSave *Next;
Integer NestLevel;
Boolean SaveIfAsm;
TempResult SaveExpr;
enum {IfState_IFIF,IfState_IFELSE,
IfState_CASESWITCH,IfState_CASECASE,IfState_CASEELSE} State;
Boolean CaseFound;
LongInt StartLine;
} TIfSave,*PIfSave;
extern Boolean IfAsm;
extern PIfSave FirstIfSave;
extern Boolean CodeIFs(void);
extern void AsmIFInit(void);
extern Integer SaveIFs(void);
extern void RestoreIFs(Integer Level);
extern Boolean IFListMask(void);
extern void asmif_init(void);
#endif /* _ASMIF_H */