summaryrefslogtreecommitdiff
path: root/util/location.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/location.c')
-rw-r--r--util/location.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/location.c b/util/location.c
new file mode 100644
index 0000000..f588146
--- /dev/null
+++ b/util/location.c
@@ -0,0 +1,3 @@
+bool location_after(Location a, Location b) { /* a is after b? */
+ return a.code > b.code;
+}