Subversion Repositories wimsdev

Rev

Rev 10 | Rev 8177 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10 Rev 8136
Line 27... Line 27...
27
#define MAX_COMMAS      1024
27
#define MAX_COMMAS      1024
28
        /* maximal number of regex strings */
28
        /* maximal number of regex strings */
29
#define MAX_REGEX       16
29
#define MAX_REGEX       16
30
 
30
 
31
 
31
 
-
 
32
enum{
-
 
33
    exp_number, exp_variable,
-
 
34
    exp_paren, exp_matrix, exp_set, exp_fn,
-
 
35
    exp_exp, exp_muldiv, exp_cupcap, exp_add,
-
 
36
    exp_eq, exp_ineq, exp_not, exp_and, exp_or, exp_imply,
-
 
37
    exp_comma, exp_quantifier
-
 
38
};
-
 
39
 
-
 
40
extern char *typenames[];
-
 
41
 
-
 
42
typedef struct op {
-
 
43
    char *name;
-
 
44
    int lvl;
-
 
45
} op;
-
 
46
 
-
 
47
typedef struct ex {
-
 
48
    char *name;
-
 
49
    int lvl1, lvl2;
-
 
50
} ex;
-
 
51
 
-
 
52
extern op oppunct[];
-
 
53
extern op opalpha[];
-
 
54
extern ex exptype[];
-
 
55
extern int oppunctno, opalphano, exptypeno;
-
 
56
 
-
 
57
typedef struct regex{
-
 
58
    char *srcreg;
-
 
59
    regex_t cmpreg;
-
 
60
    int isvar;
-
 
61
} regex;
-
 
62
extern regex regexchk[];
-
 
63
 
-
 
64
int checkregex(char *p);
-
 
65
void error(char *msg);
-
 
66
void getregex(char *p);
-
 
67
 
-
 
68
extern int regexcnt;
-
 
69
int _type(char *p, int commas[], int *commacnt);
-
 
70
 
-
 
71
int objlinecnt, thisobjline, thislinelen;
-
 
72
int expl1, expl2;
-
 
73
char *reqtype;
-
 
74
int logdir, linelogdir;
-
 
75
char *objline[MAX_OBJLINES];
-
 
76
 
-
 
77
int nocomma;
-
 
78
void req_cut(void);
-
 
79
void req_extract(void);
-
 
80
void req_not(void);
-
 
81
void req_type(void);