osprey/kg++fe/gnu/line-map.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  line_map
type  line_maps

Defines

#define SOURCE_LINE(MAP, LINE)   ((LINE) + (MAP)->to_line - (MAP)->from_line)
#define LAST_SOURCE_LINE(MAP)   SOURCE_LINE ((MAP), (MAP)[1].from_line - 1)
#define INCLUDED_FROM(SET, MAP)   (&(SET)->maps[(MAP)->included_from])
#define MAIN_FILE_P(MAP)   ((MAP)->included_from < 0)
#define CURRENT_LINE_MAP(MAPS)   ((MAPS)->maps + (MAPS)->used - 1)

Enumerations

enum  lc_reason {
  LC_ENTER = 0, LC_LEAVE, LC_RENAME, LC_ENTER = 0,
  LC_LEAVE, LC_RENAME, LC_ENTER = 0, LC_LEAVE,
  LC_RENAME, LC_ENTER = 0, LC_LEAVE, LC_RENAME
}

Functions/Subroutines

void init_line_maps PARAMS ((struct line_maps *))
struct line_map *add_line_map PARAMS ((struct line_maps *, enum lc_reason, unsigned int sysp, unsigned int from_line, const char *to_file, unsigned int to_line))
struct line_map *lookup_line PARAMS ((struct line_maps *, unsigned int))
void print_containing_files PARAMS ((struct line_maps *, const struct line_map *))


Define Documentation

#define CURRENT_LINE_MAP ( MAPS   )     ((MAPS)->maps + (MAPS)->used - 1)

Definition at line 117 of file line-map.h.

Referenced by free_line_maps().

#define INCLUDED_FROM ( SET,
MAP   )     (&(SET)->maps[(MAP)->included_from])

#define LAST_SOURCE_LINE ( MAP   )     SOURCE_LINE ((MAP), (MAP)[1].from_line - 1)

#define MAIN_FILE_P ( MAP   )     ((MAP)->included_from < 0)

#define SOURCE_LINE ( MAP,
LINE   )     ((LINE) + (MAP)->to_line - (MAP)->from_line)


Enumeration Type Documentation

enum lc_reason

Enumerator:
LC_ENTER 
LC_LEAVE 
LC_RENAME 
LC_ENTER 
LC_LEAVE 
LC_RENAME 
LC_ENTER 
LC_LEAVE 
LC_RENAME 
LC_ENTER 
LC_LEAVE 
LC_RENAME 

Definition at line 31 of file line-map.h.


Function Documentation

void print_containing_files PARAMS ( (struct line_maps *, const struct line_map *)   ) 

struct line_map* lookup_line PARAMS ( (struct line_maps *, unsigned int)   )  [read]

struct line_map* add_line_map PARAMS ( (struct line_maps *, enum lc_reason, unsigned int sysp, unsigned int from_line, const char *to_file, unsigned int to_line)   )  [read]

void init_line_maps PARAMS ( (struct line_maps *)   ) 


Generated on Wed Apr 8 15:39:30 2009 for Open64 by  doxygen 1.5.6