summaryrefslogtreecommitdiff
path: root/td.h
diff options
context:
space:
mode:
Diffstat (limited to 'td.h')
-rw-r--r--td.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/td.h b/td.h
new file mode 100644
index 0000000..49dd924
--- /dev/null
+++ b/td.h
@@ -0,0 +1,22 @@
+#ifndef TD_H
+#define TD_H
+
+#include "lex.h"
+#include "parse.h"
+#include "prv.h"
+
+struct tdlevel
+{
+ int neg;
+
+ union
+ {
+ unsigned long long uv;
+ long long v;
+ } u;
+};
+
+int td(const struct lex *l, struct prv *prv);
+void td_free(struct td *td);
+
+#endif