* Europagate, 1995
*
* $Log: ccl.h,v $
- * Revision 1.3 1995/02/14 10:25:55 adam
+ * Revision 1.4 1995/02/14 16:20:53 adam
+ * Qualifiers are read from a file now.
+ *
+ * Revision 1.3 1995/02/14 10:25:55 adam
* The constructions 'qualifier rel term ...' implemented.
*
* Revision 1.2 1995/02/13 15:15:06 adam
#define CCL_ERR_DOBBLE_QUAL 7
#define CCL_ERR_EQ_EXPECTED 8
#define CCL_ERR_BAD_RELATION 9
+#define CCL_ERR_TRUNC_NOT_LEFT 10
+#define CCL_ERR_TRUNC_NOT_BOTH 11
+#define CCL_ERR_TRUNC_NOT_RIGHT 12
struct ccl_rpn_attr {
struct ccl_rpn_attr *next;
void ccl_pr_tree (struct ccl_rpn_node *rpn);
void ccl_qual_add (CCL_bibset b, const char *name, int no, int *attr);
+void ccl_qual_file (CCL_bibset bibset, FILE *inf);
CCL_bibset ccl_qual_mk (void);
void ccl_qual_rm (CCL_bibset *b);
struct ccl_rpn_attr *ccl_qual_search (CCL_bibset b, const char *name, int len);
#define CCL_BIB1_STR_WP (-1)
#define CCL_BIB1_REL_ORDER (-1)
-#define CCL_TRUNC_L 1
-#define CCL_TRUNC_R 2
-#define CCL_TRUNC_LR 4
-#define CCL_TRUNC_NONE 8
-#define CCL_TRUNC_HASH 16
-#define CCL_TRUNC_REG 32
+#define CCL_BIB1_TRU_CAN_LEFT (-1)
+#define CCL_BIB1_TRU_CAN_RIGHT (-2)
+#define CCL_BIB1_TRU_CAN_BOTH (-3)
+#define CCL_BIB1_TRU_CAN_NONE (-4)