File indexing completed on 2025-01-18 10:02:04
0001 #ifndef MAD_MATCH2_H
0002 #define MAD_MATCH2_H
0003
0004
0005
0006 struct node;
0007 struct in_cmd;
0008 struct expression;
0009
0010
0011
0012 void match2_match(struct in_cmd*);
0013 void match2_end(struct in_cmd*);
0014 void match2_macro(struct in_cmd*);
0015 void match2_constraint(struct in_cmd*);
0016 int match2_evaluate_exressions(int, int, double*);
0017 void match2_delete_expressions(void);
0018 int match2_augmentnmacros(void);
0019
0020 int match2_print_var(struct in_cmd*);
0021 void match2_delete_arrays(void);
0022
0023
0024
0025 extern int MAX_MATCH_CONS;
0026 extern int MAX_MATCH_MACRO;
0027
0028 extern char match2_keepexpressions;
0029
0030 extern char **match2_macro_name;
0031 extern char* **match2_cons_name;
0032 extern double **match2_cons_value;
0033 extern double **match2_cons_value_rhs;
0034 extern double **match2_cons_value_lhs;
0035 extern double **match2_cons_weight;
0036 extern char **match2_cons_sign;
0037 extern int match2_cons_curr[3];
0038
0039 #endif
0040
0041