summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-09-07 19:09:57 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-09-07 19:09:57 -0400
commit9e9bd1823942e0b5e93cb3866799e7d336f2bb0d (patch)
treea973dfcb28088b4600322927b8cf91e281210bb6 /util
parenta741d19b0c270add517997c8b724e07c50d1f2a3 (diff)
a few more things
Diffstat (limited to 'util')
-rw-r--r--util/where.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/where.c b/util/where.c
new file mode 100644
index 0000000..4ac786d
--- /dev/null
+++ b/util/where.c
@@ -0,0 +1,3 @@
+bool is_after(Location a, Location b) { /* a is after b? */
+ return a.code > b.code;
+}