osprey-gcc-4.2.0/gcc/input.h File Reference

#include "line-map.h"

Include dependency graph for input.h:

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

Go to the source code of this file.

Data Types

type  file_stack

Defines

#define BUILTINS_LOCATION   ((source_location) 2)
#define expand_location(FILELINE)   (FILELINE)
#define UNKNOWN_LOCATION   unknown_location
#define LOCATION_FILE(LOC)   ((expand_location (LOC)).file)
#define LOCATION_LINE(LOC)   ((expand_location (LOC)).line)
#define input_line   LOCATION_LINE(input_location)
#define input_filename   LOCATION_FILE(input_location)
#define INPUT_FILE_STACK_BITS   31

Typedefs

typedef struct location_s expanded_location
typedef struct location_s location_t
typedef location_tsource_locus

Functions/Subroutines

struct location_s GTY (())
void push_srcloc (const char *name, int line)
void pop_srcloc (void)
void restore_input_file_stack (int)

Variables

struct line_maps line_table
location_t unknown_location
const char * main_input_filename
location_t input_location
struct file_stackinput_file_stack
int input_file_stack_tick


Define Documentation

#define BUILTINS_LOCATION   ((source_location) 2)

Definition at line 29 of file input.h.

#define expand_location ( FILELINE   )     (FILELINE)

Definition at line 65 of file input.h.

#define INPUT_FILE_STACK_BITS   31

Definition at line 103 of file input.h.

Referenced by pop_srcloc(), and push_srcloc().

#define input_filename   LOCATION_FILE(input_location)

Definition at line 93 of file input.h.

#define input_line   LOCATION_LINE(input_location)

Definition at line 92 of file input.h.

#define LOCATION_FILE ( LOC   )     ((expand_location (LOC)).file)

Definition at line 89 of file input.h.

#define LOCATION_LINE ( LOC   )     ((expand_location (LOC)).line)

Definition at line 90 of file input.h.

#define UNKNOWN_LOCATION   unknown_location

Definition at line 67 of file input.h.


Typedef Documentation

typedef struct location_s expanded_location

Definition at line 61 of file input.h.

typedef struct location_s location_t

Definition at line 62 of file input.h.

Definition at line 63 of file input.h.


Function Documentation

struct location_s GTY ( ()   )  [read, write]

Definition at line 52 of file input.h.

void pop_srcloc ( void   ) 

void push_srcloc ( const char *  name,
int  line 
)

void restore_input_file_stack ( int   ) 

Definition at line 1051 of file toplev.c.

References NULL, and VEC_index.

Referenced by cp_lexer_set_source_position_from_token().


Variable Documentation

Definition at line 180 of file toplev.c.

Definition at line 183 of file toplev.c.

Definition at line 171 of file toplev.c.

Definition at line 100 of file fix-header.c.

const char* main_input_filename


Generated on Wed Apr 8 15:38:26 2009 for Open64 by  doxygen 1.5.6