aboutsummaryrefslogtreecommitdiff
path: root/linetab.h
diff options
context:
space:
mode:
Diffstat (limited to 'linetab.h')
-rw-r--r--linetab.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/linetab.h b/linetab.h
new file mode 100644
index 0000000..c6aeb15
--- /dev/null
+++ b/linetab.h
@@ -0,0 +1,22 @@
+#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);