Rev 8880 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8880 | Rev 11104 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | "sametext","samecase", |
21 | "sametext","samecase", |
22 | "in", "wordof","itemof","lineof","varof","variableof" |
22 | "in", "wordof","itemof","lineof","varof","variableof" |
23 | }; |
23 | }; |
24 | #define total_relations (sizeof(relation_type)/sizeof(relation_type[0])) |
24 | #define total_relations (sizeof(relation_type)/sizeof(relation_type[0])) |
25 | 25 | ||
26 | /* Compares two |
26 | /* Compares two strings. Returns 1 if yes, 0 if no, -1 if error. |
27 | * In fact, -1 will occur only if module_error() is modified to |
27 | * In fact, -1 will occur only if module_error() is modified to |
28 | * return instead of abort. |
28 | * return instead of abort. |
29 | */ |
29 | */ |
30 | /* TODO: quoted string. */ |
30 | /* TODO: quoted string. */ |
31 | int compare(char *p, int numeric, int lvl) |
31 | int compare(char *p, int numeric, int lvl) |