blob: 4b450cec1dbdc4cae76c670a67c3e938d44ee878 (
plain)
1
2
3
4
5
6
7
8
9
10
|
typedef uint32_t LineNo;
typedef struct {
LineNo line;
char *code;
const char *filename;
} Location;
bool location_after(Location a, Location b) { /* a is after b? */
return a.code > b.code;
}
|