Blame src/libkeymap/analyze.h

Packit Service 50ad14
#ifndef yyHEADER_H
Packit Service 50ad14
#define yyHEADER_H 1
Packit Service 50ad14
#define yyIN_HEADER 1
Packit Service 50ad14
Packit Service 50ad14
#line 17 "/home/legion/scm/.kbd/kbd/src/libkeymap/analyze.l"
Packit Service 50ad14
#include "keymap.h"
Packit Service 50ad14
int stack_push(struct lk_ctx *ctx, lkfile_t *fp, void *scanner);
Packit Service 50ad14
int stack_pop(struct lk_ctx *ctx, void *scanner);
Packit Service 50ad14
Packit Service 50ad14
Packit Service 50ad14
Packit Service 50ad14
#line 13 "/home/legion/scm/.kbd/kbd/src/libkeymap/analyze.h"
Packit Service 50ad14
Packit Service 50ad14
#define  YY_INT_ALIGNED short int
Packit Service 50ad14
Packit Service 50ad14
/* A lexical scanner generated by flex */
Packit Service 50ad14
Packit Service 50ad14
#define FLEX_SCANNER
Packit Service 50ad14
#define YY_FLEX_MAJOR_VERSION 2
Packit Service 50ad14
#define YY_FLEX_MINOR_VERSION 6
Packit Service 50ad14
#define YY_FLEX_SUBMINOR_VERSION 0
Packit Service 50ad14
#if YY_FLEX_SUBMINOR_VERSION > 0
Packit Service 50ad14
#define FLEX_BETA
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
/* First, we deal with  platform-specific or compiler-specific issues. */
Packit Service 50ad14
Packit Service 50ad14
/* begin standard C headers. */
Packit Service 50ad14
#include <stdio.h>
Packit Service 50ad14
#include <string.h>
Packit Service 50ad14
#include <errno.h>
Packit Service 50ad14
#include <stdlib.h>
Packit Service 50ad14
Packit Service 50ad14
/* end standard C headers. */
Packit Service 50ad14
Packit Service 50ad14
/* flex integer type definitions */
Packit Service 50ad14
Packit Service 50ad14
#ifndef FLEXINT_H
Packit Service 50ad14
#define FLEXINT_H
Packit Service 50ad14
Packit Service 50ad14
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
Packit Service 50ad14
Packit Service 50ad14
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
Packit Service 50ad14
Packit Service 50ad14
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
Packit Service 50ad14
 * if you want the limit (max/min) macros for int types. 
Packit Service 50ad14
 */
Packit Service 50ad14
#ifndef __STDC_LIMIT_MACROS
Packit Service 50ad14
#define __STDC_LIMIT_MACROS 1
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#include <inttypes.h>
Packit Service 50ad14
typedef int8_t flex_int8_t;
Packit Service 50ad14
typedef uint8_t flex_uint8_t;
Packit Service 50ad14
typedef int16_t flex_int16_t;
Packit Service 50ad14
typedef uint16_t flex_uint16_t;
Packit Service 50ad14
typedef int32_t flex_int32_t;
Packit Service 50ad14
typedef uint32_t flex_uint32_t;
Packit Service 50ad14
#else
Packit Service 50ad14
typedef signed char flex_int8_t;
Packit Service 50ad14
typedef short int flex_int16_t;
Packit Service 50ad14
typedef int flex_int32_t;
Packit Service 50ad14
typedef unsigned char flex_uint8_t; 
Packit Service 50ad14
typedef unsigned short int flex_uint16_t;
Packit Service 50ad14
typedef unsigned int flex_uint32_t;
Packit Service 50ad14
Packit Service 50ad14
/* Limits of integral types. */
Packit Service 50ad14
#ifndef INT8_MIN
Packit Service 50ad14
#define INT8_MIN               (-128)
Packit Service 50ad14
#endif
Packit Service 50ad14
#ifndef INT16_MIN
Packit Service 50ad14
#define INT16_MIN              (-32767-1)
Packit Service 50ad14
#endif
Packit Service 50ad14
#ifndef INT32_MIN
Packit Service 50ad14
#define INT32_MIN              (-2147483647-1)
Packit Service 50ad14
#endif
Packit Service 50ad14
#ifndef INT8_MAX
Packit Service 50ad14
#define INT8_MAX               (127)
Packit Service 50ad14
#endif
Packit Service 50ad14
#ifndef INT16_MAX
Packit Service 50ad14
#define INT16_MAX              (32767)
Packit Service 50ad14
#endif
Packit Service 50ad14
#ifndef INT32_MAX
Packit Service 50ad14
#define INT32_MAX              (2147483647)
Packit Service 50ad14
#endif
Packit Service 50ad14
#ifndef UINT8_MAX
Packit Service 50ad14
#define UINT8_MAX              (255U)
Packit Service 50ad14
#endif
Packit Service 50ad14
#ifndef UINT16_MAX
Packit Service 50ad14
#define UINT16_MAX             (65535U)
Packit Service 50ad14
#endif
Packit Service 50ad14
#ifndef UINT32_MAX
Packit Service 50ad14
#define UINT32_MAX             (4294967295U)
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#endif /* ! C99 */
Packit Service 50ad14
Packit Service 50ad14
#endif /* ! FLEXINT_H */
Packit Service 50ad14
Packit Service 50ad14
#ifdef __cplusplus
Packit Service 50ad14
Packit Service 50ad14
/* The "const" storage-class-modifier is valid. */
Packit Service 50ad14
#define YY_USE_CONST
Packit Service 50ad14
Packit Service 50ad14
#else	/* ! __cplusplus */
Packit Service 50ad14
Packit Service 50ad14
/* C99 requires __STDC__ to be defined as 1. */
Packit Service 50ad14
#if defined (__STDC__)
Packit Service 50ad14
Packit Service 50ad14
#define YY_USE_CONST
Packit Service 50ad14
Packit Service 50ad14
#endif	/* defined (__STDC__) */
Packit Service 50ad14
#endif	/* ! __cplusplus */
Packit Service 50ad14
Packit Service 50ad14
#ifdef YY_USE_CONST
Packit Service 50ad14
#define yyconst const
Packit Service 50ad14
#else
Packit Service 50ad14
#define yyconst
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#ifndef YY_GNUC_PREREQ
Packit Service 50ad14
# if defined __GNUC__ && defined __GNUC_MINOR__
Packit Service 50ad14
#  define YY_GNUC_PREREQ(maj, min) \
Packit Service 50ad14
	((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
Packit Service 50ad14
# else
Packit Service 50ad14
#  define YY_GNUC_PREREQ(maj, min) 0
Packit Service 50ad14
# endif
Packit Service 50ad14
# if YY_GNUC_PREREQ(2, 5)
Packit Service 50ad14
#  define YY_ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
Packit Service 50ad14
#  define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
Packit Service 50ad14
# else
Packit Service 50ad14
#  define YY_ATTRIBUTE_NORETURN /* __attribute__ ((__noreturn__)) */
Packit Service 50ad14
#  define YY_ATTRIBUTE_UNUSED /* __attribute__ ((__unused__)) */
Packit Service 50ad14
# endif
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
/* An opaque pointer. */
Packit Service 50ad14
#ifndef YY_TYPEDEF_YY_SCANNER_T
Packit Service 50ad14
#define YY_TYPEDEF_YY_SCANNER_T
Packit Service 50ad14
typedef void* yyscan_t;
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
/* For convenience, these vars (plus the bison vars far below)
Packit Service 50ad14
   are macros in the reentrant scanner. */
Packit Service 50ad14
#define yyin yyg->yyin_r
Packit Service 50ad14
#define yyout yyg->yyout_r
Packit Service 50ad14
#define yyextra yyg->yyextra_r
Packit Service 50ad14
#define yyleng yyg->yyleng_r
Packit Service 50ad14
#define yytext yyg->yytext_r
Packit Service 50ad14
#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
Packit Service 50ad14
#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
Packit Service 50ad14
#define yy_flex_debug yyg->yy_flex_debug_r
Packit Service 50ad14
Packit Service 50ad14
/* Size of default input buffer. */
Packit Service 50ad14
#ifndef YY_BUF_SIZE
Packit Service 50ad14
#ifdef __ia64__
Packit Service 50ad14
/* On IA-64, the buffer size is 16k, not 8k.
Packit Service 50ad14
 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
Packit Service 50ad14
 * Ditto for the __ia64__ case accordingly.
Packit Service 50ad14
 */
Packit Service 50ad14
#define YY_BUF_SIZE 32768
Packit Service 50ad14
#else
Packit Service 50ad14
#define YY_BUF_SIZE 16384
Packit Service 50ad14
#endif /* __ia64__ */
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#ifndef YY_TYPEDEF_YY_BUFFER_STATE
Packit Service 50ad14
#define YY_TYPEDEF_YY_BUFFER_STATE
Packit Service 50ad14
typedef struct yy_buffer_state *YY_BUFFER_STATE;
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#ifndef YY_TYPEDEF_YY_SIZE_T
Packit Service 50ad14
#define YY_TYPEDEF_YY_SIZE_T
Packit Service 50ad14
typedef size_t yy_size_t;
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#ifndef YY_STRUCT_YY_BUFFER_STATE
Packit Service 50ad14
#define YY_STRUCT_YY_BUFFER_STATE
Packit Service 50ad14
struct yy_buffer_state
Packit Service 50ad14
	{
Packit Service 50ad14
	FILE *yy_input_file;
Packit Service 50ad14
Packit Service 50ad14
	char *yy_ch_buf;		/* input buffer */
Packit Service 50ad14
	char *yy_buf_pos;		/* current position in input buffer */
Packit Service 50ad14
Packit Service 50ad14
	/* Size of input buffer in bytes, not including room for EOB
Packit Service 50ad14
	 * characters.
Packit Service 50ad14
	 */
Packit Service 50ad14
	yy_size_t yy_buf_size;
Packit Service 50ad14
Packit Service 50ad14
	/* Number of characters read into yy_ch_buf, not including EOB
Packit Service 50ad14
	 * characters.
Packit Service 50ad14
	 */
Packit Service 50ad14
	yy_size_t yy_n_chars;
Packit Service 50ad14
Packit Service 50ad14
	/* Whether we "own" the buffer - i.e., we know we created it,
Packit Service 50ad14
	 * and can realloc() it to grow it, and should free() it to
Packit Service 50ad14
	 * delete it.
Packit Service 50ad14
	 */
Packit Service 50ad14
	int yy_is_our_buffer;
Packit Service 50ad14
Packit Service 50ad14
	/* Whether this is an "interactive" input source; if so, and
Packit Service 50ad14
	 * if we're using stdio for input, then we want to use getc()
Packit Service 50ad14
	 * instead of fread(), to make sure we stop fetching input after
Packit Service 50ad14
	 * each newline.
Packit Service 50ad14
	 */
Packit Service 50ad14
	int yy_is_interactive;
Packit Service 50ad14
Packit Service 50ad14
	/* Whether we're considered to be at the beginning of a line.
Packit Service 50ad14
	 * If so, '^' rules will be active on the next match, otherwise
Packit Service 50ad14
	 * not.
Packit Service 50ad14
	 */
Packit Service 50ad14
	int yy_at_bol;
Packit Service 50ad14
Packit Service 50ad14
    int yy_bs_lineno; /**< The line count. */
Packit Service 50ad14
    int yy_bs_column; /**< The column count. */
Packit Service 50ad14
    
Packit Service 50ad14
	/* Whether to try to fill the input buffer when we reach the
Packit Service 50ad14
	 * end of it.
Packit Service 50ad14
	 */
Packit Service 50ad14
	int yy_fill_buffer;
Packit Service 50ad14
Packit Service 50ad14
	int yy_buffer_status;
Packit Service 50ad14
Packit Service 50ad14
	};
Packit Service 50ad14
#endif /* !YY_STRUCT_YY_BUFFER_STATE */
Packit Service 50ad14
Packit Service 50ad14
void yyrestart (FILE *input_file ,yyscan_t yyscanner );
Packit Service 50ad14
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
Packit Service 50ad14
YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
Packit Service 50ad14
void yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
Packit Service 50ad14
void yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
Packit Service 50ad14
void yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
Packit Service 50ad14
void yypop_buffer_state (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
Packit Service 50ad14
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
Packit Service 50ad14
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
void *yyalloc (yy_size_t ,yyscan_t yyscanner );
Packit Service 50ad14
void *yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
Packit Service 50ad14
void yyfree (void * ,yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
/* Begin user sect3 */
Packit Service 50ad14
Packit Service 50ad14
#define yywrap(yyscanner) (/*CONSTCOND*/1)
Packit Service 50ad14
#define YY_SKIP_YYWRAP
Packit Service 50ad14
Packit Service 50ad14
#define yytext_ptr yytext_r
Packit Service 50ad14
Packit Service 50ad14
#ifdef YY_HEADER_EXPORT_START_CONDITIONS
Packit Service 50ad14
#define INITIAL 0
Packit Service 50ad14
#define RVALUE 1
Packit Service 50ad14
#define STR 2
Packit Service 50ad14
#define INCLSTR 3
Packit Service 50ad14
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#ifndef YY_NO_UNISTD_H
Packit Service 50ad14
/* Special case for "unistd.h", since it is non-ANSI. We include it way
Packit Service 50ad14
 * down here because we want the user's section 1 to have been scanned first.
Packit Service 50ad14
 * The user has a chance to override it with an option.
Packit Service 50ad14
 */
Packit Service 50ad14
#include <unistd.h>
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#define YY_EXTRA_TYPE struct lk_ctx *
Packit Service 50ad14
Packit Service 50ad14
int yylex_init (yyscan_t* scanner);
Packit Service 50ad14
Packit Service 50ad14
int yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
Packit Service 50ad14
Packit Service 50ad14
/* Accessor methods to globals.
Packit Service 50ad14
   These are made visible to non-reentrant scanners for convenience. */
Packit Service 50ad14
Packit Service 50ad14
int yylex_destroy (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
int yyget_debug (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
void yyset_debug (int debug_flag ,yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
void yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
FILE *yyget_in (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
void yyset_in  (FILE * _in_str ,yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
FILE *yyget_out (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
void yyset_out  (FILE * _out_str ,yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
yy_size_t yyget_leng (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
char *yyget_text (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
int yyget_lineno (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
void yyset_lineno (int _line_number ,yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
int yyget_column  (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
void yyset_column (int _column_no ,yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
YYSTYPE * yyget_lval (yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
void yyset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
Packit Service 50ad14
Packit Service 50ad14
/* Macros after this point can all be overridden by user definitions in
Packit Service 50ad14
 * section 1.
Packit Service 50ad14
 */
Packit Service 50ad14
Packit Service 50ad14
#ifndef YY_SKIP_YYWRAP
Packit Service 50ad14
#ifdef __cplusplus
Packit Service 50ad14
extern "C" int yywrap (yyscan_t yyscanner );
Packit Service 50ad14
#else
Packit Service 50ad14
extern int yywrap (yyscan_t yyscanner );
Packit Service 50ad14
#endif
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#ifndef yytext_ptr
Packit Service 50ad14
static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#ifdef YY_NEED_STRLEN
Packit Service 50ad14
static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#ifndef YY_NO_INPUT
Packit Service 50ad14
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
/* Amount of stuff to slurp up with each read. */
Packit Service 50ad14
#ifndef YY_READ_BUF_SIZE
Packit Service 50ad14
#ifdef __ia64__
Packit Service 50ad14
/* On IA-64, the buffer size is 16k, not 8k */
Packit Service 50ad14
#define YY_READ_BUF_SIZE 16384
Packit Service 50ad14
#else
Packit Service 50ad14
#define YY_READ_BUF_SIZE 8192
Packit Service 50ad14
#endif /* __ia64__ */
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
/* Number of entries by which start-condition stack grows. */
Packit Service 50ad14
#ifndef YY_START_STACK_INCR
Packit Service 50ad14
#define YY_START_STACK_INCR 25
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
/* Default declaration of generated scanner - a define so the user can
Packit Service 50ad14
 * easily add parameters.
Packit Service 50ad14
 */
Packit Service 50ad14
#ifndef YY_DECL
Packit Service 50ad14
#define YY_DECL_IS_OURS 1
Packit Service 50ad14
Packit Service 50ad14
extern int yylex \
Packit Service 50ad14
               (YYSTYPE * yylval_param ,yyscan_t yyscanner);
Packit Service 50ad14
Packit Service 50ad14
#define YY_DECL int yylex \
Packit Service 50ad14
               (YYSTYPE * yylval_param , yyscan_t yyscanner)
Packit Service 50ad14
#endif /* !YY_DECL */
Packit Service 50ad14
Packit Service 50ad14
/* yy_get_previous_state - get the state just before the EOB char was reached */
Packit Service 50ad14
Packit Service 50ad14
#undef YY_NEW_FILE
Packit Service 50ad14
#undef YY_FLUSH_BUFFER
Packit Service 50ad14
#undef yy_set_bol
Packit Service 50ad14
#undef yy_new_buffer
Packit Service 50ad14
#undef yy_set_interactive
Packit Service 50ad14
#undef YY_DO_BEFORE_ACTION
Packit Service 50ad14
Packit Service 50ad14
#ifdef YY_DECL_IS_OURS
Packit Service 50ad14
#undef YY_DECL_IS_OURS
Packit Service 50ad14
#undef YY_DECL
Packit Service 50ad14
#endif
Packit Service 50ad14
Packit Service 50ad14
#line 466 "/home/legion/scm/.kbd/kbd/src/libkeymap/analyze.l"
Packit Service 50ad14
Packit Service 50ad14
Packit Service 50ad14
#line 380 "/home/legion/scm/.kbd/kbd/src/libkeymap/analyze.h"
Packit Service 50ad14
#undef yyIN_HEADER
Packit Service 50ad14
#endif /* yyHEADER_H */