summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
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;
+}