diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader/Constraint_l.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Trader/Constraint_l.cpp | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Constraint_l.cpp b/TAO/orbsvcs/orbsvcs/Trader/Constraint_l.cpp index 9d0429b6b46..189fccdf3a8 100644 --- a/TAO/orbsvcs/orbsvcs/Trader/Constraint_l.cpp +++ b/TAO/orbsvcs/orbsvcs/Trader/Constraint_l.cpp @@ -10,7 +10,6 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL - #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ @@ -22,9 +21,6 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 6 @@ -53,13 +49,6 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL - - - - - - - /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ @@ -176,13 +165,6 @@ typedef unsigned int flex_uint32_t; - - - - - - - /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. @@ -220,7 +202,6 @@ typedef unsigned int flex_uint32_t; #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) - #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; @@ -266,7 +247,6 @@ struct yy_buffer_state FILE *yy_input_file; - char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ @@ -334,7 +314,6 @@ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ - /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". @@ -350,7 +329,6 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] - /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ @@ -434,7 +412,6 @@ extern char *yytext; - static yy_state_type yy_get_previous_state ( ); static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); static int yy_get_next_buffer ( ); @@ -442,7 +419,6 @@ static void yynoreturn yy_fatal_error ( const char* msg ); - /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ @@ -629,12 +605,10 @@ static CORBA::ULongLong trader_strtoull(const char* str, unsigned int base); - #define INITIAL 0 - #ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. @@ -643,14 +617,12 @@ static CORBA::ULongLong trader_strtoull(const char* str, unsigned int base); #endif - #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif - static int yy_init_globals ( ); @@ -661,59 +633,45 @@ static int yy_init_globals ( ); int yylex_destroy ( ); - int yyget_debug ( ); - void yyset_debug ( int debug_flag ); - YY_EXTRA_TYPE yyget_extra ( ); - void yyset_extra ( YY_EXTRA_TYPE user_defined ); - FILE *yyget_in ( ); - void yyset_in ( FILE * _in_str ); - FILE *yyget_out ( ); - void yyset_out ( FILE * _out_str ); - int yyget_leng ( ); - char *yyget_text ( ); - int yyget_lineno ( ); - void yyset_lineno ( int _line_number ); - - /* Macros after this point can all be overridden by user definitions in * section 1. */ @@ -755,8 +713,6 @@ static int input ( void ); - - /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #ifdef __ia64__ @@ -777,7 +733,6 @@ static int input ( void ); #endif - /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ @@ -815,7 +770,6 @@ static int input ( void ); #endif - /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. @@ -837,11 +791,9 @@ static int input ( void ); #endif - /* end tables serialization structures and prototypes */ - /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ @@ -854,8 +806,6 @@ static int input ( void ); - - extern int yylex (); #define YY_DECL int yylex (void) @@ -870,14 +820,12 @@ extern int yylex (); #endif - /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK /*LINTED*/break; #endif - #define YY_RULE_SETUP \ YY_USER_ACTION @@ -897,8 +845,6 @@ YY_DECL - - if ( !(yy_init) ) { (yy_init) = 1; @@ -908,7 +854,6 @@ YY_DECL #endif - if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ @@ -930,7 +875,6 @@ YY_DECL { - while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); @@ -976,7 +920,6 @@ yy_find_action: YY_DO_BEFORE_ACTION; - do_action: /* This label is used only to access EOF actions. */ @@ -1290,7 +1233,6 @@ case YY_STATE_EOF(INITIAL): - /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: @@ -1529,7 +1471,6 @@ static int yy_get_next_buffer () *--yy_cp = (char) c; - (yytext_ptr) = yy_bp; (yy_hold_char) = *yy_cp; (yy_c_buf_p) = yy_cp; @@ -1750,7 +1691,6 @@ static void yy_load_buffer_state () } - b->yy_is_interactive = file ? (ACE_OS::isatty( fileno(file) ) > 0) : 0; @@ -1888,7 +1828,6 @@ static void yyensure_buffer_stack () - /** Setup the input buffer state to scan directly from a user-specified character buffer. * @param base the character buffer * @param size the size in bytes of the character buffer @@ -1926,7 +1865,6 @@ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) - /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan @@ -1943,7 +1881,6 @@ YY_BUFFER_STATE yy_scan_string (const char * yystr ) - /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan @@ -1988,9 +1925,6 @@ YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) - - - #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif @@ -2019,11 +1953,9 @@ static void yynoreturn yy_fatal_error (const char* msg ) while ( 0 ) - /* Accessor methods (get/set functions) to struct members. */ - /** Get the current line number. * */ @@ -2037,7 +1969,6 @@ int yyget_lineno () - /** Get the input stream. * */ @@ -2047,7 +1978,6 @@ FILE *yyget_in () } - /** Get the output stream. * */ @@ -2057,7 +1987,6 @@ FILE *yyget_out () } - /** Get the length of the current token. * */ @@ -2078,7 +2007,6 @@ char *yyget_text () - /** Set the current line number. * @param _line_number line number * @@ -2094,7 +2022,6 @@ void yyset_lineno (int _line_number ) - /** Set the input stream. This does not discard the current * input buffer. * @param _in_str A readable stream. @@ -2107,7 +2034,6 @@ void yyset_in (FILE * _in_str ) } - void yyset_out (FILE * _out_str ) { yyout = _out_str ; @@ -2115,21 +2041,18 @@ void yyset_out (FILE * _out_str ) - int yyget_debug () { return yy_flex_debug; } - void yyset_debug (int _bdebug ) { yy_flex_debug = _bdebug ; } - static int yy_init_globals () { /* Initialization is the same as for the non-reentrant scanner. @@ -2148,8 +2071,6 @@ static int yy_init_globals () - - /* Defined in main.c */ #ifdef YY_STDINIT yyin = stdin; @@ -2184,7 +2105,6 @@ int yylex_destroy () - /* Reset the globals. This is important in a non-reentrant scanner so the next time * yylex() is called, initialization will occur. */ yy_init_globals( ); @@ -2193,13 +2113,11 @@ int yylex_destroy () } - /* * Internal utility routines. */ - #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, const char * s2, int n ) { @@ -2211,7 +2129,6 @@ static void yy_flex_strncpy (char* s1, const char * s2, int n ) #endif - #ifdef YY_NEED_STRLEN static int yy_flex_strlen (const char * s ) { @@ -2224,14 +2141,12 @@ static int yy_flex_strlen (const char * s ) #endif - void *yyalloc (yy_size_t size ) { return malloc(size); } - void *yyrealloc (void * ptr, yy_size_t size ) { @@ -2246,7 +2161,6 @@ void *yyrealloc (void * ptr, yy_size_t size ) } - void yyfree (void * ptr ) { free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ @@ -2260,8 +2174,6 @@ void yyfree (void * ptr ) - - TAO_Literal_Constraint* extract_string(const char* total) { |