Subversion Repositories wimsdev

Rev

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

Rev 7673 Rev 8155
Line 37... Line 37...
37
};
37
};
38
#define total_relations (sizeof(relation_type)/sizeof(relation_type[0]))
38
#define total_relations (sizeof(relation_type)/sizeof(relation_type[0]))
39
 
39
 
40
/* Compares two string. Returns 1 if yes, 0 if no, -1 if error.
40
/* Compares two string. Returns 1 if yes, 0 if no, -1 if error.
41
 * In fact, -1 will occur only if module_error() is modified to
41
 * In fact, -1 will occur only if module_error() is modified to
42
 * return instead of abort. */
42
 * return instead of abort.
-
 
43
 */
43
/* TODO: quoted string. */
44
/* TODO: quoted string. */
44
int compare(char *p, int numeric, int lvl)
45
int compare(char *p, int numeric, int lvl)
45
{
46
{
46
    char *p1, *p2, *pp, *pt;
47
    char *p1, *p2, *pp, *pt;
47
    char *r1, *r2;
48
    char *r1, *r2;