location.h (bison-3.8.1.tar.xz) | : | location.h (bison-3.8.2.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 149 | skipping to change at line 149 | |||
{ | { | |||
int res = boundary_cmp (a.start, b.start); | int res = boundary_cmp (a.start, b.start); | |||
if (!res) | if (!res) | |||
res = boundary_cmp (a.end, b.end); | res = boundary_cmp (a.end, b.end); | |||
return res; | return res; | |||
} | } | |||
/* Whether this is the empty location. */ | /* Whether this is the empty location. */ | |||
bool location_empty (location loc); | bool location_empty (location loc); | |||
/* STR must be formatted as 'file:line.column@byte' or 'file:line.column', | /* STR must be formatted as 'file:line.column@byte' or 'file:line.column'. | |||
it will be modified. */ | It may be '<command line>:3.-1@-1', with -1 to denote no-column/no-byte. | |||
STR will be modified. */ | ||||
void boundary_set_from_string (boundary *bound, char *str); | void boundary_set_from_string (boundary *bound, char *str); | |||
#endif /* ! defined LOCATION_H_ */ | #endif /* ! defined LOCATION_H_ */ | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added |