From 9e9bd1823942e0b5e93cb3866799e7d336f2bb0d Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sat, 7 Sep 2019 19:09:57 -0400 Subject: a few more things --- util/where.c | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 util/where.c (limited to 'util') 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; +} -- cgit v1.2.3