e04166b85d
Files that #include "equiv.h" must do so after including "data.h", now that a function prototype in equiv.h uses type rl_p from data.h. Adjust style, changing some `for(...)` to `for (...)`. The style in mach/proto/ncg is less than consistent; the big annoyance now is that some files want tabs at 4 spaces, others want tabs at 8 spaces.
20 lines
378 B
C
20 lines
378 B
C
/*
|
|
* This file contains the structures that hold information about the labels.
|
|
* The height and the fallthrough functions of the table.
|
|
*
|
|
* Author: Hans van Eck.
|
|
*/
|
|
|
|
typedef struct label *label_p;
|
|
|
|
struct label {
|
|
label_p lb_next;
|
|
word lb_number;
|
|
int lb_height;
|
|
short lb_fallthrough;
|
|
};
|
|
|
|
void add_label(int, int, int);
|
|
label_p get_label(word);
|
|
void kill_labels(void);
|