diff options
Diffstat (limited to 'util/location.c')
-rw-r--r-- | util/location.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/location.c b/util/location.c index f588146..9a8beb8 100644 --- a/util/location.c +++ b/util/location.c @@ -1,3 +1,9 @@ +typedef uint32_t LineNo; +typedef struct { + LineNo line; + char *code; +} Location; + bool location_after(Location a, Location b) { /* a is after b? */ return a.code > b.code; } |