435.1.1
by Matthew Fuller
Pull the static code out of gram.y and into a seaprate parse_yacc.c. |
1 |
/*
|
2 |
* Header for the various parse_yacc/gram.y backend funcs
|
|
3 |
*/
|
|
4 |
#ifndef _PARSE_YACC_H
|
|
5 |
#define _PARSE_YACC_H
|
|
6 |
||
7 |
void yyerror(char *s); |
|
8 |
||
9 |
void InitGramVariables(void); |
|
10 |
void RemoveDQuote(char *str); |
|
11 |
||
12 |
MenuRoot *GetRoot(char *name, char *fore, char *back); |
|
13 |
||
14 |
Bool CheckWarpScreenArg(char *s); |
|
15 |
Bool CheckWarpRingArg(char *s); |
|
16 |
Bool CheckColormapArg(char *s); |
|
17 |
void GotButton(int butt, int func); |
|
18 |
void GotKey(char *key, int func); |
|
19 |
void GotTitleButton(char *bitmapname, int func, Bool rightside); |
|
20 |
||
21 |
||
22 |
extern char *Action; |
|
23 |
extern char *Name; |
|
24 |
extern MenuRoot *root, *pull; |
|
25 |
||
26 |
extern int cont; |
|
27 |
extern int mods; |
|
28 |
||
29 |
||
435.1.5
by Matthew Fuller
Turn the defstring var into a #define, and switch to using the #define |
30 |
#define DEFSTRING "default"
|
31 |
||
32 |
||
435.1.1
by Matthew Fuller
Pull the static code out of gram.y and into a seaprate parse_yacc.c. |
33 |
#endif /* _PARSE_YACC_H */ |