19 |
Boston, MA 02111-1307, USA. */ |
Boston, MA 02111-1307, USA. */ |
20 |
|
|
21 |
#include "system.h" |
#include "system.h" |
22 |
#include "location.h" |
|
23 |
#include <quotearg.h> |
#include <quotearg.h> |
24 |
|
|
25 |
location_t const empty_location; |
#include "location.h" |
26 |
|
|
27 |
|
location const empty_location; |
28 |
|
|
29 |
/* Output to OUT the location LOC. |
/* Output to OUT the location LOC. |
30 |
Warning: it uses quotearg's slot 3. */ |
Warning: it uses quotearg's slot 3. */ |
31 |
void |
void |
32 |
location_print (FILE *out, location_t loc) |
location_print (FILE *out, location loc) |
33 |
{ |
{ |
34 |
fprintf (out, "%s:%d.%d", |
fprintf (out, "%s:%d.%d", |
35 |
quotearg_n_style (3, escape_quoting_style, loc.start.file), |
quotearg_n_style (3, escape_quoting_style, loc.start.file), |