aboutsummaryrefslogtreecommitdiff
path: root/src/parse.hff
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.hff')
-rw-r--r--src/parse.hff18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/parse.hff b/src/parse.hff
new file mode 100644
index 0000000..463dd26
--- /dev/null
+++ b/src/parse.hff
@@ -0,0 +1,18 @@
+struct Loc {
+ fileid u16,
+ idx isize,
+ col int,
+ line int,
+}
+
+#[lax]
+enum TokT {
+ kw_or
+}
+
+struct Tok {
+ t int,
+ u union {
+ i i64
+ },
+}