#include "extern.h"#include "login.h"#include "trees.h"#include "print.h"#include "memory.h"#include "error.h"#include "token.h"Go to the source code of this file.
Functions | |
| ptr_int_list | appendIntList (ptr_int_list tail, ptr_int_list more) |
| void | mark_ancestors (ptr_definition def, long *flags) |
| static long | bfs (ptr_definition p, ptr_int_list ans, ptr_int_list pattern, long *flags) |
| static ptr_int_list | makeUnitList (ptr_definition x) |
| ptr_int_list | lub (ptr_psi_term a, ptr_psi_term b, ptr_psi_term *pp) |
Variables | |
| static char | vcid [] = "$Id: lub.c,v 1.3 1995/08/25 21:34:37 duchier Exp $" |
| ptr_definition | built_in |
| ptr_int_list appendIntList | ( | ptr_int_list | tail, | |
| ptr_int_list | more | |||
| ) |
Definition at line 40 of file lub.c.
References wl_int_list::next, NULL, STACK_ALLOC, and wl_int_list::value.
Referenced by bfs().
| static long bfs | ( | ptr_definition | p, | |
| ptr_int_list | ans, | |||
| ptr_int_list | pattern, | |||
| long * | flags | |||
| ) | [static] |
Definition at line 78 of file lub.c.
References appendIntList(), assert, bit_length(), mark_ancestors(), wl_int_list::next, NULL, or_codes(), STACK_ALLOC, sub_CodeType(), top, and wl_int_list::value.
Referenced by lub().
| ptr_int_list lub | ( | ptr_psi_term | a, | |
| ptr_psi_term | b, | |||
| ptr_psi_term * | pp | |||
| ) |
Definition at line 162 of file lub.c.
References bfs(), wl_definition::code, copyTypeCode(), decode(), isSubTypeValue(), isValue(), makeUnitList(), NULL, or_codes(), stack_alloc(), sub_type(), top, wl_psi_term::type, wl_definition::type, and type_count.
Referenced by c_lub().
| static ptr_int_list makeUnitList | ( | ptr_definition | x | ) | [static] |
Definition at line 144 of file lub.c.
References wl_int_list::next, NULL, STACK_ALLOC, and wl_int_list::value.
Referenced by lub().
| void mark_ancestors | ( | ptr_definition | def, | |
| long * | flags | |||
| ) |
Definition at line 57 of file lub.c.
References bit_length(), wl_definition::code, wl_int_list::next, and wl_int_list::value.
Referenced by bfs().
Definition at line 53 of file built_in.c.
Referenced by check(), encode_types(), and make_sys_type_links().
char vcid[] = "$Id: lub.c,v 1.3 1995/08/25 21:34:37 duchier Exp $" [static] |
1.5.4