/[bison]/bison/src/location.c
ViewVC logotype

Diff of /bison/src/location.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by eggert, Sat Dec 7 05:57:32 2002 UTC revision 1.4 by eggert, Wed Dec 11 06:35:10 2002 UTC
# Line 19  Line 19 
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),

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26