-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathparser.h
42 lines (33 loc) · 781 Bytes
/
parser.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
/*
parser.h
*/
#ifndef _PARSER_H_
#define _PARSER_H_
extern int atom;
extern int next_atom;
extern int last_atom;
extern char * srcLinePtr;
extern char srcLine[256];
int LoadSource(char *);
void SavePosition(void);
void RestorePosition(void);
int GetAtom(void);
int TestAtom(int x);
int TestAtomOR(int x, int y);
int GetLine();
void killLine(void);
int KillSpace();
int GetLabel(label_t *Label);
int GetCmd(void);
int GetComment(void);
int CheckForComma(void);
int GetString( char * ,char );
int GetFileName();
void InitParser();
/* expression.c */
int Expression( int32_t * value);
int NeedConst( int32_t * value, const char * op);
int Expression64( int64_t * value);
int NeedConst64( int64_t * value, const char * op);
int getdec32(int32_t *);
#endif /* _PARSER_H_ */