osprey/crayf90/fe90/lex.c File Reference

#include "defines.h"
#include "host.m"
#include "host.h"
#include "target.m"
#include "target.h"
#include "globals.m"
#include "tokens.m"
#include "sytb.m"
#include "lex.m"
#include "debug.m"
#include "globals.h"
#include "tokens.h"
#include "sytb.h"
#include "p_globals.h"
#include "lex.h"
#include <errno.h>

Include dependency graph for lex.c:

Go to the source code of this file.

Functions/Subroutines

static boolean convert_const (void)
static boolean fixed_get_keyword (void)
static boolean free_get_keyword (void)
static boolean get_directive (void)
static boolean get_format_str (void)
static boolean get_label (void)
static boolean get_micro_directive (void)
static boolean get_open_mp_directive (void)
static boolean get_sgi_directive (void)
static boolean get_operand_digit (void)
static boolean get_operand_dot (void)
static boolean get_operand_letter (void)
static boolean get_operand_quote (void)
static boolean get_operator (void)
static boolean get_operator_dot (void)
static boolean get_program_str (void)
static boolean get_punctuator (void)
static void convert_octal_literal (boolean)
static void convert_hex_literal (boolean)
static void convert_binary_literal (boolean)
static void set_up_letter_idx_table (int *, kwd_type *, int)
void init_lex (void)
void flush_LA_to_EOS (void)
void flush_LA_to_symbol (void)
boolean get_token (token_class_type class)
void reset_lex (int buf_idx, int stmt_num)
boolean is_par_directive (int start_idx)
boolean is_dollar_directive (int start_idx)
boolean is_star_directive (int start_idx)
char ch_after_paren_grp (void)
token_values_type get_dir_token_from_str (char *str)
int cvrt_str_to_cn (char *str, int type_idx)
void set_up_token_tables (void)

Variables

static char USMID [] = "\n@(#)5.0_pl/sources/lex.c 5.8 08/23/99 17:26:51\n"


Function Documentation

char ch_after_paren_grp ( void   ) 

Definition at line 4330 of file lex.c.

References Func_Entry, Func_Exit, LA_CH_VALUE, scan_thru_close_paren(), and TRACE.

Referenced by parse_implicit_stmt().

static void convert_binary_literal ( boolean  is_boz  )  [static]

static boolean convert_const ( void   )  [static]

static void convert_hex_literal ( boolean  is_boz  )  [static]

static void convert_octal_literal ( boolean  is_boz  )  [static]

int cvrt_str_to_cn ( char *  str,
int  type_idx 
)

static boolean fixed_get_keyword ( void   )  [static]

void flush_LA_to_EOS ( void   ) 

Definition at line 188 of file lex.c.

References Func_Entry, Func_Exit, la_ch, NULL, stmt_EOS_la_ch, and TRACE.

Referenced by parse_err_flush().

void flush_LA_to_symbol ( void   ) 

static boolean free_get_keyword ( void   )  [static]

token_values_type get_dir_token_from_str ( char *  str  ) 

static boolean get_directive ( void   )  [static]

static boolean get_format_str ( void   )  [static]

static boolean get_label ( void   )  [static]

static boolean get_micro_directive ( void   )  [static]

static boolean get_open_mp_directive ( void   )  [static]

static boolean get_operand_digit ( void   )  [static]

static boolean get_operand_dot ( void   )  [static]

static boolean get_operand_letter ( void   )  [static]

static boolean get_operand_quote ( void   )  [static]

static boolean get_operator ( void   )  [static]

static boolean get_operator_dot ( void   )  [static]

static boolean get_program_str ( void   )  [static]

static boolean get_punctuator ( void   )  [static]

static boolean get_sgi_directive ( void   )  [static]

boolean get_token ( token_class_type  class  ) 

void init_lex ( void   ) 

boolean is_dollar_directive ( int  start_idx  ) 

boolean is_par_directive ( int  start_idx  ) 

boolean is_star_directive ( int  start_idx  ) 

void reset_lex ( int  buf_idx,
int  stmt_num 
)

static void set_up_letter_idx_table ( int *  idx_tbl,
kwd_type kwd_tbl,
int  len 
) [static]

Definition at line 5531 of file lex.c.

References Func_Entry, Func_Exit, i, idx, kwd_entry::name, NULL, printf(), and TRACE.

Referenced by set_up_token_tables().

void set_up_token_tables ( void   ) 


Variable Documentation

char USMID[] = "\n@(#)5.0_pl/sources/lex.c 5.8 08/23/99 17:26:51\n" [static]

Definition at line 45 of file lex.c.


Generated on Wed Apr 8 14:44:35 2009 for Open64 by  doxygen 1.5.6