aboutsummaryrefslogtreecommitdiff
path: root/linetab.h
blob: e38335a4660d4a1330590ee2240e2cb8a96e4d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>

#include "bas.h"
#include "bcdfp.h"

typedef struct {
	unsigned short lineno;
	unsigned short pos;
	unsigned char cmd;
} lineref_t;

extern lineref_t *linerefs[];
extern int refcounts[];
extern int lines_exist[];

extern void add_lineref(unsigned short from, unsigned short pos);
extern void build_ref_table(void);
extern void free_ref_table(void);