diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/location.c | 3 | ||||
-rw-r--r-- | util/where.c | 3 |
2 files changed, 3 insertions, 3 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; +} diff --git a/util/where.c b/util/where.c deleted file mode 100644 index 4ac786d..0000000 --- a/util/where.c +++ /dev/null @@ -1,3 +0,0 @@ -bool is_after(Location a, Location b) { /* a is after b? */ - return a.code > b.code; -} |