GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions | Variables
ada-lex.c File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "diagnostics.h"
#include <unistd.h>
#include <ctype.h>

Go to the source code of this file.

Classes

struct  yy_buffer_state
 
struct  yy_trans_info
 

Macros

#define YY_INT_ALIGNED   short int
 
#define FLEX_SCANNER
 
#define YY_FLEX_MAJOR_VERSION   2
 
#define YY_FLEX_MINOR_VERSION   6
 
#define YY_FLEX_SUBMINOR_VERSION   4
 
#define FLEX_BETA
 
#define FLEXINT_H
 
#define INT8_MIN   (-128)
 
#define INT16_MIN   (-32767-1)
 
#define INT32_MIN   (-2147483647-1)
 
#define INT8_MAX   (127)
 
#define INT16_MAX   (32767)
 
#define INT32_MAX   (2147483647)
 
#define UINT8_MAX   (255U)
 
#define UINT16_MAX   (65535U)
 
#define UINT32_MAX   (4294967295U)
 
#define SIZE_MAX   (~(size_t)0)
 
#define yyconst   const
 
#define yynoreturn
 
#define YY_NULL   0
 
#define YY_SC_TO_UI(c)   ((YY_CHAR) (c))
 
#define BEGIN   (yy_start) = 1 + 2 *
 
#define YY_START   (((yy_start) - 1) / 2)
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
 
#define YY_NEW_FILE   yyrestart( yyin )
 
#define YY_END_OF_BUFFER_CHAR   0
 
#define YY_BUF_SIZE   16384
 
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
 
#define YY_TYPEDEF_YY_BUFFER_STATE
 
#define YY_TYPEDEF_YY_SIZE_T
 
#define EOB_ACT_CONTINUE_SCAN   0
 
#define EOB_ACT_END_OF_FILE   1
 
#define EOB_ACT_LAST_MATCH   2
 
#define YY_LESS_LINENO(n)
 
#define YY_LINENO_REWIND_TO(ptr)
 
#define yyless(n)
 
#define unput(c)   yyunput( c, (yytext_ptr) )
 
#define YY_STRUCT_YY_BUFFER_STATE
 
#define YY_BUFFER_NEW   0
 
#define YY_BUFFER_NORMAL   1
 
#define YY_BUFFER_EOF_PENDING   2
 
#define YY_CURRENT_BUFFER
 
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
 
#define YY_FLUSH_BUFFER   yy_flush_buffer( YY_CURRENT_BUFFER )
 
#define yy_new_buffer   yy_create_buffer
 
#define yy_set_interactive(is_interactive)
 
#define yy_set_bol(at_bol)
 
#define YY_AT_BOL()   (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
 
#define yywrap()   (/*CONSTCOND*/1)
 
#define YY_SKIP_YYWRAP
 
#define yytext_ptr   yytext
 
#define YY_DO_BEFORE_ACTION
 
#define YY_NUM_RULES   54
 
#define YY_END_OF_BUFFER   55
 
#define REJECT   reject_used_but_not_detected
 
#define yymore()   yymore_used_but_not_detected
 
#define YY_MORE_ADJ   0
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define NUMERAL_WIDTH   256
 
#define LONGEST_SIGN   ((ULONGEST) 1 << (sizeof(LONGEST) * HOST_CHAR_BIT - 1))
 
#define YY_DECL   static int yylex ( void )
 
#define YY_NO_INPUT
 
#define COMPLETE_CHAR   '\001'
 
#define YY_INPUT(BUF, RESULT, MAX_SIZE)
 
#define INITIAL   0
 
#define BEFORE_QUAL_QUOTE   1
 
#define YY_EXTRA_TYPE   void *
 
#define YY_READ_BUF_SIZE   8192
 
#define ECHO   do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
 
#define yyterminate()   return YY_NULL
 
#define YY_START_STACK_INCR   25
 
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
 
#define YY_USER_ACTION
 
#define YY_BREAK   /*LINTED*/break;
 
#define YY_RULE_SETUP    YY_USER_ACTION
 
#define YY_EXIT_FAILURE   2
 
#define yyless(n)
 
#define YYTABLES_NAME   "yytables"
 

Typedefs

typedef signed char flex_int8_t
 
typedef short int flex_int16_t
 
typedef int flex_int32_t
 
typedef unsigned char flex_uint8_t
 
typedef unsigned short int flex_uint16_t
 
typedef unsigned int flex_uint32_t
 
typedef struct yy_buffer_stateYY_BUFFER_STATE
 
typedef size_t yy_size_t
 
typedef flex_uint8_t YY_CHAR
 
typedef int yy_state_type
 
typedef void(* dummy_function) ()
 

Functions

void yyrestart (FILE *input_file)
 
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer)
 
YY_BUFFER_STATE yy_create_buffer (FILE *file, int size)
 
void yy_delete_buffer (YY_BUFFER_STATE b)
 
void yy_flush_buffer (YY_BUFFER_STATE b)
 
void yypush_buffer_state (YY_BUFFER_STATE new_buffer)
 
void yypop_buffer_state (void)
 
static void yyensure_buffer_stack (void)
 
static void yy_load_buffer_state (void)
 
static void yy_init_buffer (YY_BUFFER_STATE b, FILE *file)
 
YY_BUFFER_STATE yy_scan_buffer (char *base, yy_size_t size)
 
YY_BUFFER_STATE yy_scan_string (const char *yy_str)
 
YY_BUFFER_STATE yy_scan_bytes (const char *bytes, int len)
 
void * yyalloc (yy_size_t)
 
void * yyxrealloc (void *, yy_size_t)
 
void yyfree (void *)
 
static yy_state_type yy_get_previous_state (void)
 
static yy_state_type yy_try_NUL_trans (yy_state_type current_state)
 
static int yy_get_next_buffer (void)
 
static void yynoreturn yy_fatal_error (const char *msg)
 
static void canonicalizeNumeral (char *s1, const char *)
 
static struct stoken processString (const char *, int)
 
static int processInt (struct parser_state *, const char *, const char *, const char *)
 
static int processReal (struct parser_state *, const char *)
 
static struct stoken processId (const char *, int)
 
static int processAttribute (const char *)
 
static int find_dot_all (const char *)
 
static void rewind_to_char (int)
 
static int yy_init_globals (void)
 
int yylex_destroy (void)
 
int yyget_debug (void)
 
void yyset_debug (int debug_flag)
 
YY_EXTRA_TYPE yyget_extra (void)
 
void yyset_extra (YY_EXTRA_TYPE user_defined)
 
FILE * yyget_in (void)
 
void yyset_in (FILE *_in_str)
 
FILE * yyget_out (void)
 
void yyset_out (FILE *_out_str)
 
int yyget_leng (void)
 
char * yyget_text (void)
 
int yyget_lineno (void)
 
void yyset_lineno (int _line_number)
 
static void yyunput (int c, char *buf_ptr)
 
 if (!(yy_init))
 

Variables

int yyleng
 
FILE * yyin = NULL
 
FILE * yyout = NULL
 
static size_t yy_buffer_stack_top = 0
 
static size_t yy_buffer_stack_max = 0
 
static YY_BUFFER_STATEyy_buffer_stack = NULL
 
static char yy_hold_char
 
static int yy_n_chars
 
static char * yy_c_buf_p = NULL
 
static int yy_init = 0
 
static int yy_start = 0
 
static int yy_did_buffer_switch_on_eof
 
int yylineno = 1
 
char * yytext
 
static const flex_int16_t yy_accept [220]
 
static const YY_CHAR yy_ec [256]
 
static const YY_CHAR yy_meta [69]
 
static const flex_int16_t yy_base [245]
 
static const flex_int16_t yy_def [245]
 
static const flex_int16_t yy_nxt [1374]
 
static const flex_int16_t yy_chk [1374]
 
static yy_state_type yy_last_accepting_state
 
static char * yy_last_accepting_cpos
 
int yy_flex_debug = 0
 
static char numbuf [NUMERAL_WIDTH]
 
static bool returned_complete = false
 
static int paren_depth
 
 YY_DECL
 
char * yy_cp
 
char * yy_bp
 
int yy_act
 
dummy_function ada_flex_use []
 

Macro Definition Documentation

◆ BEFORE_QUAL_QUOTE

#define BEFORE_QUAL_QUOTE   1

Definition at line 921 of file ada-lex.c.

◆ BEGIN

#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 117 of file ada-lex.c.

Referenced by lexer_init().

◆ COMPLETE_CHAR

#define COMPLETE_CHAR   '\001'

Definition at line 891 of file ada-lex.c.

Referenced by processAttribute().

◆ ECHO

#define ECHO   do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)

Definition at line 1016 of file ada-lex.c.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 161 of file ada-lex.c.

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 162 of file ada-lex.c.

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 163 of file ada-lex.c.

◆ FLEX_BETA

#define FLEX_BETA

Definition at line 13 of file ada-lex.c.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 8 of file ada-lex.c.

◆ FLEXINT_H

#define FLEXINT_H

Definition at line 29 of file ada-lex.c.

◆ INITIAL

#define INITIAL   0

Definition at line 920 of file ada-lex.c.

Referenced by lexer_init().

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 71 of file ada-lex.c.

◆ INT16_MIN

#define INT16_MIN   (-32767-1)

Definition at line 62 of file ada-lex.c.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 74 of file ada-lex.c.

Referenced by s390_displaced_step_copy_insn().

◆ INT32_MIN

#define INT32_MIN   (-2147483647-1)

Definition at line 65 of file ada-lex.c.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 68 of file ada-lex.c.

◆ INT8_MIN

#define INT8_MIN   (-128)

Definition at line 59 of file ada-lex.c.

◆ LONGEST_SIGN

#define LONGEST_SIGN   ((ULONGEST) 1 << (sizeof(LONGEST) * HOST_CHAR_BIT - 1))

Definition at line 862 of file ada-lex.c.

◆ NUMERAL_WIDTH

#define NUMERAL_WIDTH   256

Definition at line 861 of file ada-lex.c.

◆ REJECT

#define REJECT   reject_used_but_not_detected

Definition at line 818 of file ada-lex.c.

◆ SIZE_MAX

#define SIZE_MAX   (~(size_t)0)

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 80 of file ada-lex.c.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 83 of file ada-lex.c.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 77 of file ada-lex.c.

◆ unput

#define unput ( c)    yyunput( c, (yytext_ptr) )

Definition at line 181 of file ada-lex.c.

◆ YY_AT_BOL

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 322 of file ada-lex.c.

◆ YY_BREAK

#define YY_BREAK   /*LINTED*/break;

Definition at line 1095 of file ada-lex.c.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Definition at line 139 of file ada-lex.c.

Referenced by if().

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

Definition at line 243 of file ada-lex.c.

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 231 of file ada-lex.c.

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 232 of file ada-lex.c.

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER
Value:
: NULL)
static YY_BUFFER_STATE * yy_buffer_stack
Definition ada-lex.c:251
static size_t yy_buffer_stack_top
Definition ada-lex.c:249

Definition at line 259 of file ada-lex.c.

Referenced by if().

◆ YY_CURRENT_BUFFER_LVALUE

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Definition at line 265 of file ada-lex.c.

Referenced by if().

◆ YY_DECL

#define YY_DECL   static int yylex ( void )

Definition at line 877 of file ada-lex.c.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
yyleng = (int) (yy_cp - yy_bp); \
*yy_cp = '\0'; \
static char yy_hold_char
Definition ada-lex.c:268
int yyleng
Definition ada-lex.c:270
char * yy_cp
Definition ada-lex.c:1106
#define yytext_ptr
Definition ada-lex.c:341
char * yy_bp
Definition ada-lex.c:1106
static char * yy_c_buf_p
Definition ada-lex.c:273

Definition at line 351 of file ada-lex.c.

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   55

Definition at line 358 of file ada-lex.c.

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 128 of file ada-lex.c.

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   void *

Definition at line 932 of file ada-lex.c.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR ( msg)    yy_fatal_error( msg )

Definition at line 1070 of file ada-lex.c.

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 9 of file ada-lex.c.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   6

Definition at line 10 of file ada-lex.c.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   4

Definition at line 11 of file ada-lex.c.

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   yy_flush_buffer( YY_CURRENT_BUFFER )

Definition at line 293 of file ada-lex.c.

◆ YY_INPUT

#define YY_INPUT ( BUF,
RESULT,
MAX_SIZE )
Value:
if ( *pstate->lexptr == '\000' ) \
{ \
{ \
*(BUF) = COMPLETE_CHAR; \
(RESULT) = 1; \
} \
else \
(RESULT) = YY_NULL; \
} \
else \
{ \
*(BUF) = *pstate->lexptr == COMPLETE_CHAR ? ' ' : *pstate->lexptr; \
(RESULT) = 1; \
pstate->lexptr += 1; \
}
static struct parser_state * pstate
Definition ada-exp.c:101
static bool returned_complete
Definition ada-lex.c:888
#define COMPLETE_CHAR
Definition ada-lex.c:891
#define YY_NULL
Definition ada-lex.c:106
bool parse_completion
const char * lexptr

Definition at line 894 of file ada-lex.c.

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Definition at line 4 of file ada-lex.c.

◆ YY_LESS_LINENO

#define YY_LESS_LINENO ( n)

Definition at line 165 of file ada-lex.c.

◆ YY_LINENO_REWIND_TO

#define YY_LINENO_REWIND_TO ( ptr)

Definition at line 166 of file ada-lex.c.

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

Definition at line 820 of file ada-lex.c.

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 303 of file ada-lex.c.

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart( yyin )

Definition at line 127 of file ada-lex.c.

◆ YY_NO_INPUT

#define YY_NO_INPUT

Definition at line 881 of file ada-lex.c.

◆ YY_NULL

#define YY_NULL   0

Definition at line 106 of file ada-lex.c.

◆ YY_NUM_RULES

#define YY_NUM_RULES   54

Definition at line 357 of file ada-lex.c.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 1007 of file ada-lex.c.

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 821 of file ada-lex.c.

◆ YY_RULE_SETUP

#define YY_RULE_SETUP    YY_USER_ACTION

Definition at line 1098 of file ada-lex.c.

◆ YY_SC_TO_UI

#define YY_SC_TO_UI ( c)    ((YY_CHAR) (c))

Definition at line 111 of file ada-lex.c.

◆ yy_set_bol

#define yy_set_bol ( at_bol)
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (); \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_CURRENT_BUFFER_LVALUE
Definition ada-lex.c:265
FILE * yyin
Definition ada-lex.c:330
#define YY_CURRENT_BUFFER
Definition ada-lex.c:259
#define YY_BUF_SIZE
Definition ada-lex.c:139

Definition at line 313 of file ada-lex.c.

◆ yy_set_interactive

#define yy_set_interactive ( is_interactive)
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (); \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}

Definition at line 304 of file ada-lex.c.

◆ YY_SKIP_YYWRAP

#define YY_SKIP_YYWRAP

Definition at line 327 of file ada-lex.c.

◆ YY_START

#define YY_START   (((yy_start) - 1) / 2)

Definition at line 122 of file ada-lex.c.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 1065 of file ada-lex.c.

◆ YY_STATE_BUF_SIZE

#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

Definition at line 145 of file ada-lex.c.

◆ YY_STATE_EOF

#define YY_STATE_EOF ( state)    (YY_END_OF_BUFFER + state + 1)

Definition at line 125 of file ada-lex.c.

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 184 of file ada-lex.c.

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 148 of file ada-lex.c.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 153 of file ada-lex.c.

◆ YY_USER_ACTION

#define YY_USER_ACTION

Definition at line 1090 of file ada-lex.c.

◆ yyconst

#define yyconst   const

Definition at line 97 of file ada-lex.c.

◆ yyless [1/2]

#define yyless ( n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define YY_RESTORE_YY_MORE_OFFSET
Definition ada-lex.c:821
#define YY_MORE_ADJ
Definition ada-lex.c:820
#define YY_DO_BEFORE_ACTION
Definition ada-lex.c:351

Definition at line 169 of file ada-lex.c.

◆ yyless [2/2]

#define yyless ( n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
(yy_c_buf_p) = yytext + yyless_macro_arg; \
*(yy_c_buf_p) = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )
char * yytext
Definition ada-lex.c:822

Definition at line 169 of file ada-lex.c.

◆ yymore

#define yymore ( )    yymore_used_but_not_detected

Definition at line 819 of file ada-lex.c.

◆ yynoreturn

#define yynoreturn

Definition at line 102 of file ada-lex.c.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 123 of file ada-lex.c.

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

◆ yyterminate

#define yyterminate ( )    return YY_NULL

Definition at line 1060 of file ada-lex.c.

◆ yytext_ptr

#define yytext_ptr   yytext

Definition at line 341 of file ada-lex.c.

◆ yywrap

#define yywrap ( )    (/*CONSTCOND*/1)

Definition at line 326 of file ada-lex.c.

Typedef Documentation

◆ dummy_function

typedef void(* dummy_function) ()

Definition at line 3030 of file ada-lex.c.

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 51 of file ada-lex.c.

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 52 of file ada-lex.c.

◆ flex_int8_t

typedef signed char flex_int8_t

Definition at line 50 of file ada-lex.c.

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 54 of file ada-lex.c.

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 55 of file ada-lex.c.

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 53 of file ada-lex.c.

◆ YY_BUFFER_STATE

Definition at line 149 of file ada-lex.c.

◆ YY_CHAR

Definition at line 328 of file ada-lex.c.

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 154 of file ada-lex.c.

◆ yy_state_type

typedef int yy_state_type

Definition at line 332 of file ada-lex.c.

Function Documentation

◆ canonicalizeNumeral()

static void canonicalizeNumeral ( char * s1,
const char *  )
static

◆ find_dot_all()

static int find_dot_all ( const char * )
static

◆ if()

if ( ! yy_init)

◆ processAttribute()

static int processAttribute ( const char * str)
static

◆ processId()

static struct stoken processId ( const char * ,
int  )
static

◆ processInt()

static int processInt ( struct parser_state * ,
const char * ,
const char * ,
const char *  )
static

◆ processReal()

static int processReal ( struct parser_state * ,
const char *  )
static

◆ processString()

static struct stoken processString ( const char * ,
int  )
static

◆ rewind_to_char()

static void rewind_to_char ( int ch)
static

Definition at line 3021 of file ada-lex.c.

References parser_state::lexptr, pstate, yyleng, and yyrestart.

◆ yy_create_buffer()

YY_BUFFER_STATE yy_create_buffer ( FILE * file,
int size )

◆ yy_delete_buffer()

void yy_delete_buffer ( YY_BUFFER_STATE b)

◆ yy_fatal_error()

static void yynoreturn yy_fatal_error ( const char * msg)
static

◆ yy_flush_buffer()

void yy_flush_buffer ( YY_BUFFER_STATE b)

◆ yy_get_next_buffer()

static int yy_get_next_buffer ( void )
static

◆ yy_get_previous_state()

static yy_state_type yy_get_previous_state ( void )
static

◆ yy_init_buffer()

static void yy_init_buffer ( YY_BUFFER_STATE b,
FILE * file )
static

◆ yy_init_globals()

static int yy_init_globals ( void )
static

◆ yy_load_buffer_state()

static void yy_load_buffer_state ( void )
static

Referenced by if().

◆ yy_scan_buffer()

YY_BUFFER_STATE yy_scan_buffer ( char * base,
yy_size_t size )

◆ yy_scan_bytes()

YY_BUFFER_STATE yy_scan_bytes ( const char * bytes,
int len )

◆ yy_scan_string()

YY_BUFFER_STATE yy_scan_string ( const char * yy_str)

◆ yy_switch_to_buffer()

void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer)

◆ yy_try_NUL_trans()

static yy_state_type yy_try_NUL_trans ( yy_state_type current_state)
static

◆ yyalloc()

void * yyalloc ( yy_size_t )

◆ yyensure_buffer_stack()

static void yyensure_buffer_stack ( void )
static

Referenced by if().

◆ yyfree()

void yyfree ( void * )

◆ yyget_debug()

int yyget_debug ( void )

◆ yyget_extra()

YY_EXTRA_TYPE yyget_extra ( void )

◆ yyget_in()

FILE * yyget_in ( void )

◆ yyget_leng()

int yyget_leng ( void )

◆ yyget_lineno()

int yyget_lineno ( void )

◆ yyget_out()

FILE * yyget_out ( void )

◆ yyget_text()

char * yyget_text ( void )

◆ yylex_destroy()

int yylex_destroy ( void )

◆ yypop_buffer_state()

void yypop_buffer_state ( void )

◆ yypush_buffer_state()

void yypush_buffer_state ( YY_BUFFER_STATE new_buffer)

◆ yyrestart()

void yyrestart ( FILE * input_file)

◆ yyset_debug()

void yyset_debug ( int debug_flag)

◆ yyset_extra()

void yyset_extra ( YY_EXTRA_TYPE user_defined)

◆ yyset_in()

void yyset_in ( FILE * _in_str)

◆ yyset_lineno()

void yyset_lineno ( int _line_number)

◆ yyset_out()

void yyset_out ( FILE * _out_str)

◆ yyunput()

static void yyunput ( int c,
char * buf_ptr )
static

◆ yyxrealloc()

void * yyxrealloc ( void * ,
yy_size_t  )

Variable Documentation

◆ ada_flex_use

dummy_function ada_flex_use[]
Initial value:
=
{
}
static void yyunput(int c, char *buf_ptr)
void(* dummy_function)()
Definition ada-lex.c:3030

Definition at line 3031 of file ada-lex.c.

◆ numbuf

char numbuf[NUMERAL_WIDTH]
static

Definition at line 865 of file ada-lex.c.

◆ paren_depth

int paren_depth
static

◆ returned_complete

bool returned_complete = false
static

Definition at line 888 of file ada-lex.c.

◆ yy_accept

const flex_int16_t yy_accept[220]
static
Initial value:
=
{ 0,
0, 0, 0, 0, 55, 53, 1, 1, 15, 52,
43, 34, 45, 46, 43, 44, 43, 53, 43, 4,
4, 43, 43, 43, 43, 49, 49, 49, 49, 49,
49, 49, 49, 49, 49, 49, 34, 0, 14, 0,
52, 34, 0, 34, 34, 0, 0, 34, 0, 37,
2, 48, 0, 36, 0, 47, 39, 0, 0, 4,
0, 0, 0, 0, 51, 38, 40, 0, 35, 41,
49, 0, 0, 0, 49, 49, 49, 49, 49, 16,
22, 49, 49, 49, 49, 27, 49, 49, 49, 49,
49, 49, 42, 34, 42, 34, 14, 0, 34, 12,
12, 34, 0, 2, 0, 47, 47, 0, 9, 0,
3, 0, 0, 7, 0, 49, 0, 0, 0, 49,
19, 20, 49, 49, 23, 24, 25, 49, 49, 29,
49, 49, 49, 49, 31, 0, 0, 0, 0, 0,
0, 47, 6, 0, 0, 9, 0, 3, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 49, 21, 49, 26, 49, 17, 30, 49, 32,
0, 0, 50, 0, 0, 0, 0, 6, 0, 49,
0, 0, 0, 0, 0, 0, 0, 0, 33, 49,
49, 0, 0, 0, 0, 5, 11, 0, 8, 0,
0, 0, 0, 0, 0, 28, 49, 0, 5, 0,
8, 0, 0, 13, 0, 18, 10, 10, 0
}

Definition at line 366 of file ada-lex.c.

◆ yy_act

int yy_act

Definition at line 1107 of file ada-lex.c.

◆ yy_base

const flex_int16_t yy_base[245]
static
Initial value:
=
{ 0,
0, 0, 832, 820, 828, 1305, 1305, 1305, 62, 0,
1305, 109, 1305, 1305, 813, 1305, 799, 69, 781, 170,
25, 53, 779, 775, 760, 178, 78, 194, 229, 250,
45, 204, 231, 155, 267, 227, 329, 173, 1305, 178,
0, 773, 771, 397, 769, 755, 718, 465, 69, 1305,
0, 1305, 272, 1305, 0, 727, 1305, 0, 70, 40,
80, 711, 260, 0, 1305, 1305, 1305, 686, 1305, 1305,
1305, 308, 531, 534, 508, 511, 524, 525, 538, 512,
541, 551, 554, 570, 578, 565, 589, 601, 603, 615,
620, 640, 696, 0, 1305, 687, 690, 679, 681, 683,
1305, 667, 695, 0, 650, 1305, 672, 80, 683, 82,
172, 0, 168, 0, 641, 739, 686, 748, 0, 750,
679, 681, 739, 737, 751, 763, 764, 782, 781, 790,
794, 793, 806, 824, 807, 658, 0, 865, 640, 868,
627, 650, 173, 0, 86, 852, 196, 229, 640, 624,
196, 220, 235, 255, 590, 178, 244, 245, 267, 262,
600, 905, 825, 872, 826, 892, 875, 895, 909, 906,
559, 582, 1305, 963, 304, 579, 295, 1305, 547, 939,
506, 530, 564, 548, 545, 568, 596, 302, 919, 943,
948, 302, 235, 0, 525, 650, 569, 295, 688, 293,
264, 234, 207, 177, 101, 966, 1006, 86, 710, 544,
947, 1019, 1030, 871, 675, 1305, 998, 1007, 1305, 1062,
1072, 1090, 1095, 1113, 1132, 1151, 1155, 1173, 705, 722,
1181, 1197, 1209, 1214, 1225, 740, 1228, 1246, 748, 765,
1258, 1265, 1277, 1286
}

Definition at line 437 of file ada-lex.c.

◆ yy_bp

char * yy_bp

Definition at line 1106 of file ada-lex.c.

◆ yy_buffer_stack

YY_BUFFER_STATE* yy_buffer_stack = NULL
static

Stack as an array.

Definition at line 251 of file ada-lex.c.

◆ yy_buffer_stack_max

size_t yy_buffer_stack_max = 0
static

capacity of stack.

Definition at line 250 of file ada-lex.c.

◆ yy_buffer_stack_top

size_t yy_buffer_stack_top = 0
static

index of top of stack.

Definition at line 249 of file ada-lex.c.

◆ yy_c_buf_p

char* yy_c_buf_p = NULL
static

Definition at line 273 of file ada-lex.c.

◆ yy_chk

const flex_int16_t yy_chk[1374]
static

Definition at line 654 of file ada-lex.c.

◆ yy_cp

char* yy_cp

Definition at line 1106 of file ada-lex.c.

◆ YY_DECL

YY_DECL
Initial value:
{
yy_state_type yy_current_state
int yy_state_type
Definition ada-lex.c:332

The main scanner function which does all the work.

Definition at line 1103 of file ada-lex.c.

◆ yy_def

const flex_int16_t yy_def[245]
static
Initial value:
=
{ 0,
219, 1, 1, 1, 219, 219, 219, 219, 220, 221,
219, 219, 219, 219, 219, 219, 219, 222, 219, 219,
20, 219, 223, 219, 219, 224, 224, 224, 224, 224,
30, 30, 30, 30, 30, 30, 219, 220, 219, 220,
221, 225, 225, 219, 44, 225, 219, 219, 225, 219,
226, 219, 222, 219, 227, 228, 219, 229, 219, 20,
219, 219, 219, 230, 219, 219, 219, 231, 219, 219,
219, 219, 219, 232, 30, 30, 30, 30, 30, 30,
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
30, 30, 225, 44, 219, 48, 233, 219, 48, 219,
219, 48, 225, 226, 234, 219, 228, 235, 219, 219,
219, 236, 219, 230, 231, 219, 232, 219, 237, 238,
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
30, 30, 30, 30, 30, 219, 239, 219, 219, 103,
234, 219, 219, 240, 235, 219, 219, 219, 241, 219,
219, 219, 219, 219, 219, 219, 219, 219, 219, 219,
242, 238, 30, 30, 30, 30, 30, 30, 30, 30,
219, 243, 219, 103, 219, 244, 219, 219, 241, 219,
219, 219, 219, 219, 219, 219, 219, 242, 30, 30,
30, 243, 225, 174, 219, 219, 219, 244, 219, 219,
219, 219, 219, 219, 219, 30, 30, 225, 219, 219,
219, 219, 219, 219, 219, 219, 219, 219, 0, 219,
219, 219, 219, 219, 219, 219, 219, 219, 219, 219,
219, 219, 219, 219, 219, 219, 219, 219, 219, 219,
219, 219, 219, 219
}

Definition at line 468 of file ada-lex.c.

◆ yy_did_buffer_switch_on_eof

int yy_did_buffer_switch_on_eof
static

Definition at line 280 of file ada-lex.c.

◆ yy_ec

const YY_CHAR yy_ec[256]
static

Definition at line 394 of file ada-lex.c.

◆ yy_flex_debug

int yy_flex_debug = 0

Definition at line 813 of file ada-lex.c.

◆ yy_hold_char

char yy_hold_char
static

Definition at line 268 of file ada-lex.c.

◆ yy_init

int yy_init = 0
static

Definition at line 274 of file ada-lex.c.

Referenced by if().

◆ yy_last_accepting_cpos

char* yy_last_accepting_cpos
static

Definition at line 810 of file ada-lex.c.

◆ yy_last_accepting_state

yy_state_type yy_last_accepting_state
static

Definition at line 809 of file ada-lex.c.

◆ yy_meta

const YY_CHAR yy_meta[69]
static
Initial value:
=
{ 0,
1, 2, 3, 4, 5, 6, 7, 8, 9, 6,
10, 6, 6, 6, 6, 6, 6, 11, 6, 12,
12, 6, 6, 13, 14, 15, 16, 16, 16, 16,
16, 16, 17, 17, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 6, 6, 18, 16,
16, 16, 16, 16, 17, 17, 17, 17, 17, 17,
17, 17, 17, 17, 17, 17, 17, 19
}

Definition at line 426 of file ada-lex.c.

◆ yy_n_chars

int yy_n_chars
static

Definition at line 269 of file ada-lex.c.

◆ yy_nxt

const flex_int16_t yy_nxt[1374]
static

Definition at line 499 of file ada-lex.c.

◆ yy_start

int yy_start = 0
static

Definition at line 275 of file ada-lex.c.

Referenced by if().

◆ yyin

FILE * yyin = NULL

Definition at line 330 of file ada-lex.c.

Referenced by ada_parse(), and if().

◆ yyleng

int yyleng

Definition at line 270 of file ada-lex.c.

Referenced by rewind_to_char(), and rewind_to_char().

◆ yylineno

int yylineno = 1

Definition at line 335 of file ada-lex.c.

◆ yyout

FILE * yyout = NULL

Definition at line 159 of file ada-lex.c.

Referenced by if().

◆ yytext

char* yytext

Definition at line 822 of file ada-lex.c.