base/config/kconfig/lex.zconf.c File Reference

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <limits.h>
#include <unistd.h>
#include "lkc.h"

Include dependency graph for lex.zconf.c:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  yy_buffer_state
struct  yy_trans_info
struct  buffer

Defines

#define YY_INT_ALIGNED   short int
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION   2
#define YY_FLEX_MINOR_VERSION   5
#define YY_FLEX_SUBMINOR_VERSION   31
#define FLEX_BETA
#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 yyconst
#define YY_NULL   0
#define YY_SC_TO_UI(c)   ((unsigned int) (unsigned 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   zconfrestart(zconfin )
#define YY_END_OF_BUFFER_CHAR   0
#define YY_BUF_SIZE   16384
#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 yyless(n)
#define unput(c)   yyunput( c, (yytext_ptr) )
#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   zconf_flush_buffer(YY_CURRENT_BUFFER )
#define yy_new_buffer   zconf_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 zconfwrap(n)   1
#define YY_SKIP_YYWRAP
#define yytext_ptr   zconftext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   64
#define YY_END_OF_BUFFER   65
#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 LKC_DIRECT_LINK
#define START_STRSIZE   16
#define INITIAL   0
#define COMMAND   1
#define HELP   2
#define STRING   3
#define PARAM   4
#define YY_EXTRA_TYPE   void *
#define YY_READ_BUF_SIZE   8192
#define ECHO   (void) fwrite( zconftext, zconfleng, 1, zconfout )
#define YY_INPUT(buf, result, max_size)
#define yyterminate()   return YY_NULL
#define YY_START_STACK_INCR   25
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
#define YY_DECL_IS_OURS   1
#define YY_DECL   int zconflex (void)
#define YY_BREAK   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 yy_buffer_stateYY_BUFFER_STATE
typedef unsigned int yy_size_t
typedef unsigned char YY_CHAR
typedef int yy_state_type

Functions

void zconfrestart (FILE *input_file)
void zconf_switch_to_buffer (YY_BUFFER_STATE new_buffer)
YY_BUFFER_STATE zconf_create_buffer (FILE *file, int size)
void zconf_delete_buffer (YY_BUFFER_STATE b)
void zconf_flush_buffer (YY_BUFFER_STATE b)
void zconfpush_buffer_state (YY_BUFFER_STATE new_buffer)
void zconfpop_buffer_state (void)
void zconfensure_buffer_stack (void)
void zconf_load_buffer_state (void)
void zconf_init_buffer (YY_BUFFER_STATE b, FILE *file)
YY_BUFFER_STATE zconf_scan_buffer (char *base, yy_size_t size)
YY_BUFFER_STATE zconf_scan_string (yyconst char *yy_str)
YY_BUFFER_STATE zconf_scan_bytes (yyconst char *bytes, int len)
void * zconfalloc (yy_size_t)
void * zconfrealloc (void *, yy_size_t)
void zconffree (void *)
yy_state_type yy_get_previous_state (void)
yy_state_type yy_try_NUL_trans (yy_state_type current_state)
int yy_get_next_buffer (void)
void yy_fatal_error (yyconst char msg[])
void zconf_endhelp (void)
bufferzconf_endfile (void)
void new_string (void)
void append_string (const char *str, int size)
void alloc_string (const char *str, int size)
void yyunput (int c, char *buf_ptr)
int input (void)
int zconflex (void)

Variables

int zconfleng
FILE * zconfin = (FILE *) 0 *zconfout = (FILE *) 0
FILE * zconfout
size_t yy_buffer_stack_top = 0
 index of top of stack
size_t yy_buffer_stack_max = 0
 capacity of stack
YY_BUFFER_STATEyy_buffer_stack = 0
 Stack as an array.
char yy_hold_char
int yy_n_chars
char * yy_c_buf_p = (char *) 0
int yy_init = 1
int yy_start = 0
int yy_did_buffer_switch_on_eof
int zconflineno = 1
char * zconftext
yyconst flex_int16_t yy_nxt [][38]
yyconst flex_int16_t yy_accept [211]
yyconst flex_int32_t yy_ec [256]
int zconf_flex_debug = 0
char * text
char * text_ptr
int text_size
int text_asize
buffercurrent_buf
int last_ts
int first_ts


Define Documentation

#define BEGIN   (yy_start) = 1 + 2 *
 

Definition at line 115 of file lex.zconf.c.

#define COMMAND   1
 

Definition at line 2064 of file lex.zconf.c.

#define ECHO   (void) fwrite( zconftext, zconfleng, 1, zconfout )
 

Definition at line 2121 of file lex.zconf.c.

#define EOB_ACT_CONTINUE_SCAN   0
 

Definition at line 146 of file lex.zconf.c.

#define EOB_ACT_END_OF_FILE   1
 

Definition at line 147 of file lex.zconf.c.

#define EOB_ACT_LAST_MATCH   2
 

Definition at line 148 of file lex.zconf.c.

#define FLEX_BETA
 

Definition at line 13 of file lex.zconf.c.

#define FLEX_SCANNER
 

Definition at line 8 of file lex.zconf.c.

#define HELP   2
 

Definition at line 2065 of file lex.zconf.c.

#define INITIAL   0
 

Definition at line 2063 of file lex.zconf.c.

#define INT16_MAX   (32767)
 

Definition at line 64 of file lex.zconf.c.

#define INT16_MIN   (-32767-1)
 

Definition at line 55 of file lex.zconf.c.

#define INT32_MAX   (2147483647)
 

Definition at line 67 of file lex.zconf.c.

#define INT32_MIN   (-2147483647-1)
 

Definition at line 58 of file lex.zconf.c.

#define INT8_MAX   (127)
 

Definition at line 61 of file lex.zconf.c.

#define INT8_MIN   (-128)
 

Definition at line 52 of file lex.zconf.c.

#define LKC_DIRECT_LINK
 

Definition at line 2012 of file lex.zconf.c.

#define PARAM   4
 

Definition at line 2067 of file lex.zconf.c.

#define REJECT   reject_used_but_not_detected
 

Definition at line 1995 of file lex.zconf.c.

#define START_STRSIZE   16
 

Definition at line 2015 of file lex.zconf.c.

Referenced by new_string().

#define STRING   3
 

Definition at line 2066 of file lex.zconf.c.

#define UINT16_MAX   (65535U)
 

Definition at line 73 of file lex.zconf.c.

#define UINT32_MAX   (4294967295U)
 

Definition at line 76 of file lex.zconf.c.

#define UINT8_MAX   (255U)
 

Definition at line 70 of file lex.zconf.c.

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

Definition at line 166 of file lex.zconf.c.

 
#define YY_AT_BOL  )     (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
 

Definition at line 322 of file lex.zconf.c.

#define YY_BREAK   break;
 

Definition at line 2184 of file lex.zconf.c.

#define YY_BUF_SIZE   16384
 

Definition at line 134 of file lex.zconf.c.

#define YY_BUFFER_EOF_PENDING   2
 

Definition at line 238 of file lex.zconf.c.

#define YY_BUFFER_NEW   0
 

Definition at line 226 of file lex.zconf.c.

#define YY_BUFFER_NORMAL   1
 

Definition at line 227 of file lex.zconf.c.

#define YY_CURRENT_BUFFER
 

Value:

( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL)
Definition at line 254 of file lex.zconf.c.

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
 

Definition at line 261 of file lex.zconf.c.

#define YY_DECL   int zconflex (void)
 

Definition at line 2172 of file lex.zconf.c.

#define YY_DECL_IS_OURS   1
 

Definition at line 2168 of file lex.zconf.c.

#define YY_DO_BEFORE_ACTION
 

Value:

(yytext_ptr) = yy_bp; \ zconfleng = (size_t) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp;
Definition at line 1914 of file lex.zconf.c.

#define YY_END_OF_BUFFER   65
 

Definition at line 1922 of file lex.zconf.c.

#define YY_END_OF_BUFFER_CHAR   0
 

Definition at line 130 of file lex.zconf.c.

#define YY_EXIT_FAILURE   2
 

#define YY_EXTRA_TYPE   void *
 

Definition at line 2076 of file lex.zconf.c.

#define YY_FATAL_ERROR msg   )     yy_fatal_error( msg )
 

Definition at line 2159 of file lex.zconf.c.

#define YY_FLEX_MAJOR_VERSION   2
 

Definition at line 9 of file lex.zconf.c.

#define YY_FLEX_MINOR_VERSION   5
 

Definition at line 10 of file lex.zconf.c.

#define YY_FLEX_SUBMINOR_VERSION   31
 

Definition at line 11 of file lex.zconf.c.

#define YY_FLUSH_BUFFER   zconf_flush_buffer(YY_CURRENT_BUFFER )
 

Definition at line 290 of file lex.zconf.c.

#define YY_INPUT buf,
result,
max_size   ) 
 

Value:

errno=0; \ while ( (result = read( fileno(zconfin), (char *) buf, max_size )) < 0 ) \ { \ if( errno != EINTR) \ { \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ break; \ } \ errno=0; \ clearerr(zconfin); \ }\ \
Definition at line 2128 of file lex.zconf.c.

#define YY_INT_ALIGNED   short int
 

Definition at line 4 of file lex.zconf.c.

#define YY_LESS_LINENO  ) 
 

Definition at line 150 of file lex.zconf.c.

#define YY_MORE_ADJ   0
 

Definition at line 1997 of file lex.zconf.c.

#define yy_new_buffer   zconf_create_buffer
 

Definition at line 300 of file lex.zconf.c.

#define YY_NEW_FILE   zconfrestart(zconfin )
 

Definition at line 128 of file lex.zconf.c.

#define YY_NULL   0
 

Definition at line 102 of file lex.zconf.c.

#define YY_NUM_RULES   64
 

Definition at line 1921 of file lex.zconf.c.

#define YY_READ_BUF_SIZE   8192
 

Definition at line 2113 of file lex.zconf.c.

#define YY_RESTORE_YY_MORE_OFFSET
 

Definition at line 1998 of file lex.zconf.c.

#define YY_RULE_SETUP   YY_USER_ACTION
 

Definition at line 2187 of file lex.zconf.c.

#define YY_SC_TO_UI  )     ((unsigned int) (unsigned char) c)
 

Definition at line 109 of file lex.zconf.c.

#define yy_set_bol at_bol   ) 
 

Value:

{ \ if ( ! YY_CURRENT_BUFFER ){\ zconfensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ zconf_create_buffer(zconfin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ }
Definition at line 312 of file lex.zconf.c.

#define yy_set_interactive is_interactive   ) 
 

Value:

{ \ if ( ! YY_CURRENT_BUFFER ){ \ zconfensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ zconf_create_buffer(zconfin,YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ }
Definition at line 302 of file lex.zconf.c.

#define YY_SKIP_YYWRAP
 

Definition at line 327 of file lex.zconf.c.

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

Definition at line 121 of file lex.zconf.c.

#define YY_START_STACK_INCR   25
 

Definition at line 2154 of file lex.zconf.c.

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

Definition at line 125 of file lex.zconf.c.

#define yyconst
 

Definition at line 98 of file lex.zconf.c.

#define yyless  ) 
 

Value:

do \ { \ /* Undo effects of setting up zconftext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ zconftext[zconfleng] = (yy_hold_char); \ (yy_c_buf_p) = zconftext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ zconfleng = yyless_macro_arg; \ } \ while ( 0 )
Definition at line 153 of file lex.zconf.c.

#define yyless  ) 
 

Value:

do \ { \ /* Undo effects of setting up zconftext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up zconftext again */ \ } \ while ( 0 )
Definition at line 153 of file lex.zconf.c.

 
#define yymore  )     yymore_used_but_not_detected
 

Definition at line 1996 of file lex.zconf.c.

#define YYSTATE   YY_START
 

Definition at line 122 of file lex.zconf.c.

#define YYTABLES_NAME   "yytables"
 

 
#define yyterminate  )     return YY_NULL
 

Definition at line 2149 of file lex.zconf.c.

#define yytext_ptr   zconftext
 

Definition at line 340 of file lex.zconf.c.

#define zconfwrap  )     1
 

Definition at line 326 of file lex.zconf.c.


Typedef Documentation

typedef short int flex_int16_t
 

Definition at line 43 of file lex.zconf.c.

typedef int flex_int32_t
 

Definition at line 44 of file lex.zconf.c.

typedef signed char flex_int8_t
 

Definition at line 42 of file lex.zconf.c.

typedef unsigned short int flex_uint16_t
 

Definition at line 46 of file lex.zconf.c.

typedef unsigned int flex_uint32_t
 

Definition at line 47 of file lex.zconf.c.

typedef unsigned char flex_uint8_t
 

Definition at line 45 of file lex.zconf.c.

typedef struct yy_buffer_state* YY_BUFFER_STATE
 

Definition at line 139 of file lex.zconf.c.

typedef unsigned char YY_CHAR
 

Definition at line 329 of file lex.zconf.c.

typedef unsigned int yy_size_t
 

Definition at line 175 of file lex.zconf.c.

typedef int yy_state_type
 

Definition at line 333 of file lex.zconf.c.


Function Documentation

void alloc_string const char *  str,
int  size
 

Definition at line 2056 of file lex.zconf.c.

References text.

void append_string const char *  str,
int  size
 

Definition at line 2042 of file lex.zconf.c.

References text, text_asize, text_ptr, and text_size.

int input void   )  [static]
 

void new_string void   ) 
 

Definition at line 2033 of file lex.zconf.c.

References START_STRSIZE, text, text_asize, text_ptr, and text_size.

void yy_fatal_error yyconst char  msg[]  )  [static]
 

int yy_get_next_buffer void   )  [static]
 

yy_state_type yy_get_previous_state void   )  [static]
 

yy_state_type yy_try_NUL_trans yy_state_type  current_state  )  [static]
 

void yyunput int  c,
char *  buf_ptr
[static]
 

YY_BUFFER_STATE zconf_create_buffer FILE *  file,
int  size
 

void zconf_delete_buffer YY_BUFFER_STATE  b  ) 
 

struct buffer* zconf_endfile void   )  [static]
 

void zconf_endhelp void   )  [static]
 

void zconf_flush_buffer YY_BUFFER_STATE  b  ) 
 

void zconf_init_buffer YY_BUFFER_STATE  b,
FILE *  file
[static]
 

void zconf_load_buffer_state void   )  [static]
 

YY_BUFFER_STATE zconf_scan_buffer char *  base,
yy_size_t  size
 

YY_BUFFER_STATE zconf_scan_bytes yyconst char *  bytes,
int  len
 

YY_BUFFER_STATE zconf_scan_string yyconst char *  yy_str  ) 
 

void zconf_switch_to_buffer YY_BUFFER_STATE  new_buffer  ) 
 

void* zconfalloc yy_size_t   ) 
 

void zconfensure_buffer_stack void   )  [static]
 

void zconffree void *   ) 
 

int zconflex void   ) 
 

void zconfpop_buffer_state void   ) 
 

void zconfpush_buffer_state YY_BUFFER_STATE  new_buffer  ) 
 

void* zconfrealloc void *  ,
yy_size_t 
 

void zconfrestart FILE *  input_file  ) 
 


Variable Documentation

struct buffer* current_buf
 

Definition at line 2026 of file lex.zconf.c.

int first_ts [static]
 

Definition at line 2028 of file lex.zconf.c.

int last_ts [static]
 

Definition at line 2028 of file lex.zconf.c.

char* text
 

Definition at line 2017 of file lex.zconf.c.

Referenced by alloc_string(), append_string(), dialog_textbox(), new_string(), ConfigItem::setText(), show_helptext(), show_textbox(), and ConfigItem::text().

int text_asize [static]
 

Definition at line 2019 of file lex.zconf.c.

Referenced by append_string(), and new_string().

char* text_ptr [static]
 

Definition at line 2018 of file lex.zconf.c.

Referenced by append_string(), and new_string().

int text_size [static]
 

Definition at line 2019 of file lex.zconf.c.

Referenced by append_string(), and new_string().

yyconst flex_int16_t yy_accept[211] [static]
 

Initial value:

{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 5, 4, 3, 2, 36, 37, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 63, 60, 62, 55, 59, 58, 57, 53, 48, 42, 47, 51, 53, 40, 41, 50, 50, 43, 53, 50, 50, 53, 4, 3, 2, 2, 1, 35, 35, 35, 35, 35, 35, 35, 16, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 63, 60, 62, 61, 55, 54, 57, 56, 44, 51, 38, 50, 50, 52, 45, 46, 39, 35, 35, 35, 35, 35, 35, 35, 35, 35, 30, 29, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 49, 25, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 15, 35, 7, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 17, 35, 35, 35, 35, 35, 34, 35, 35, 35, 35, 35, 35, 10, 35, 13, 35, 35, 35, 35, 33, 35, 35, 35, 35, 35, 22, 35, 32, 9, 31, 35, 26, 12, 35, 35, 21, 18, 35, 8, 35, 35, 35, 35, 35, 27, 35, 35, 6, 35, 20, 19, 23, 35, 35, 11, 35, 35, 35, 14, 28, 35, 24 }
Definition at line 1930 of file lex.zconf.c.

YY_BUFFER_STATE* yy_buffer_stack = 0 [static]
 

Stack as an array.

Definition at line 246 of file lex.zconf.c.

size_t yy_buffer_stack_max = 0 [static]
 

capacity of stack

Definition at line 245 of file lex.zconf.c.

size_t yy_buffer_stack_top = 0 [static]
 

index of top of stack

Definition at line 244 of file lex.zconf.c.

char* yy_c_buf_p = (char *) 0 [static]
 

Definition at line 269 of file lex.zconf.c.

int yy_did_buffer_switch_on_eof [static]
 

Definition at line 276 of file lex.zconf.c.

yyconst flex_int32_t yy_ec[256] [static]
 

Definition at line 1957 of file lex.zconf.c.

char yy_hold_char [static]
 

Definition at line 264 of file lex.zconf.c.

int yy_init = 1 [static]
 

Definition at line 270 of file lex.zconf.c.

int yy_n_chars [static]
 

Definition at line 265 of file lex.zconf.c.

yyconst flex_int16_t yy_nxt[][38] [static]
 

Definition at line 341 of file lex.zconf.c.

int yy_start = 0 [static]
 

Definition at line 271 of file lex.zconf.c.

int zconf_flex_debug = 0
 

Definition at line 1990 of file lex.zconf.c.

FILE * zconfin = (FILE *) 0 *zconfout = (FILE *) 0
 

Definition at line 331 of file lex.zconf.c.

int zconfleng
 

Definition at line 266 of file lex.zconf.c.

int zconflineno = 1
 

Definition at line 337 of file lex.zconf.c.

FILE * zconfout
 

char * zconftext
 

Definition at line 1999 of file lex.zconf.c.


Generated on Thu Nov 20 11:51:07 2008 for RTAI API by doxygen 1.3.8