1 #ifndef cqasm_v1HEADER_H 2 #define cqasm_v1HEADER_H 1 3 #define cqasm_v1IN_HEADER 1 5 #line 6 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/cbuild/src/cqasm/cqasm-v1-lexer.hpp" 7 #line 8 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/cbuild/src/cqasm/cqasm-v1-lexer.hpp" 9 #define YY_INT_ALIGNED short int 14 #define YY_FLEX_MAJOR_VERSION 2 15 #define YY_FLEX_MINOR_VERSION 6 16 #define YY_FLEX_SUBMINOR_VERSION 1 17 #if YY_FLEX_SUBMINOR_VERSION > 0 38 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 43 #ifndef __STDC_LIMIT_MACROS 44 #define __STDC_LIMIT_MACROS 1 64 #define INT8_MIN (-128) 67 #define INT16_MIN (-32767-1) 70 #define INT32_MIN (-2147483647-1) 73 #define INT8_MAX (127) 76 #define INT16_MAX (32767) 79 #define INT32_MAX (2147483647) 82 #define UINT8_MAX (255U) 85 #define UINT16_MAX (65535U) 88 #define UINT32_MAX (4294967295U) 98 #if defined(__GNUC__) && __GNUC__ >= 3 99 #define yynoreturn __attribute__((__noreturn__)) 105 #ifndef YY_TYPEDEF_YY_SCANNER_T 106 #define YY_TYPEDEF_YY_SCANNER_T 112 #define yyin yyg->yyin_r 113 #define yyout yyg->yyout_r 114 #define yyextra yyg->yyextra_r 115 #define yyleng yyg->yyleng_r 116 #define yytext yyg->yytext_r 117 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) 118 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) 119 #define yy_flex_debug yyg->yy_flex_debug_r 128 #define YY_BUF_SIZE 32768 130 #define YY_BUF_SIZE 16384 134 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 135 #define YY_TYPEDEF_YY_BUFFER_STATE 139 #ifndef YY_TYPEDEF_YY_SIZE_T 140 #define YY_TYPEDEF_YY_SIZE_T 144 #ifndef YY_STRUCT_YY_BUFFER_STATE 145 #define YY_STRUCT_YY_BUFFER_STATE 211 #define cqasm_v1wrap(yyscanner) (1) 212 #define YY_SKIP_YYWRAP 214 #define yytext_ptr yytext_r 216 #ifdef YY_HEADER_EXPORT_START_CONDITIONS 218 #define MODE_MULTILINE_COMMENT 1 219 #define MODE_VERSION 2 220 #define MODE_STRING 3 222 #define MODE_JSON_STRING 5 223 #define MODE_UNEXPECTED_EOF 6 227 #ifndef YY_NO_UNISTD_H 235 #ifndef YY_EXTRA_TYPE 236 #define YY_EXTRA_TYPE void * 288 #ifndef YY_SKIP_YYWRAP 297 static void yy_flex_strncpy (
char *,
yyconst char *,
int ,
yyscan_t yyscanner);
300 #ifdef YY_NEED_STRLEN 309 #ifndef YY_READ_BUF_SIZE 312 #define YY_READ_BUF_SIZE 16384 314 #define YY_READ_BUF_SIZE 8192 319 #ifndef YY_START_STACK_INCR 320 #define YY_START_STACK_INCR 25 327 #define YY_DECL_IS_OURS 1 332 #define YY_DECL int cqasm_v1lex \ 333 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) 339 #undef YY_FLUSH_BUFFER 342 #undef yy_set_interactive 343 #undef YY_DO_BEFORE_ACTION 345 #ifdef YY_DECL_IS_OURS 346 #undef YY_DECL_IS_OURS 350 #line 233 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 352 #line 353 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/cbuild/src/cqasm/cqasm-v1-lexer.hpp" 353 #undef cqasm_v1IN_HEADER void cqasm_v1push_buffer_state(YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
Pushes the new state onto the stack.
char * cqasm_v1get_text(yyscan_t yyscanner)
Get the current token.
unsigned int flex_uint32_t
void cqasm_v1_flush_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner)
Discard all buffered characters.
void * cqasm_v1alloc(yy_size_t, yyscan_t yyscanner)
YY_BUFFER_STATE cqasm_v1_scan_string(yyconst char *yy_str, yyscan_t yyscanner)
Setup the input buffer state to scan a string.
YY_BUFFER_STATE cqasm_v1_scan_bytes(yyconst char *bytes, int len, yyscan_t yyscanner)
Setup the input buffer state to scan the given bytes.
struct yy_buffer_state * YY_BUFFER_STATE
int yy_bs_lineno
The line count.
YYSTYPE * cqasm_v1get_lval(yyscan_t yyscanner)
FILE * cqasm_v1get_out(yyscan_t yyscanner)
Get the output stream.
void cqasm_v1set_extra(YY_EXTRA_TYPE user_defined, yyscan_t yyscanner)
Set the user-defined data.
int cqasm_v1lex(YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner)
void cqasm_v1set_in(FILE *_in_str, yyscan_t yyscanner)
Set the input stream.
int yy_bs_column
The column count.
void cqasm_v1pop_buffer_state(yyscan_t yyscanner)
Removes and deletes the top of the stack, if present.
void * cqasm_v1realloc(void *, yy_size_t, yyscan_t yyscanner)
void cqasm_v1set_lval(YYSTYPE *yylval_param, yyscan_t yyscanner)
YY_BUFFER_STATE cqasm_v1_create_buffer(FILE *file, int size, yyscan_t yyscanner)
Allocate and initialize an input buffer state.
int cqasm_v1get_column(yyscan_t yyscanner)
Get the current column number.
int cqasm_v1lex_destroy(yyscan_t yyscanner)
FILE * cqasm_v1get_in(yyscan_t yyscanner)
Get the input stream.
YY_EXTRA_TYPE cqasm_v1get_extra(yyscan_t yyscanner)
Get the user-defined data for this scanner.
void cqasm_v1set_lloc(YYLTYPE *yylloc_param, yyscan_t yyscanner)
void cqasm_v1restart(FILE *input_file, yyscan_t yyscanner)
Immediately switch to a different input stream.
int cqasm_v1get_lineno(yyscan_t yyscanner)
Get the current line number.
YY_BUFFER_STATE cqasm_v1_scan_buffer(char *base, yy_size_t size, yyscan_t yyscanner)
Setup the input buffer state to scan directly from a user-specified character buffer.
void cqasm_v1free(void *, yyscan_t yyscanner)
unsigned char flex_uint8_t
YYLTYPE * cqasm_v1get_lloc(yyscan_t yyscanner)
void cqasm_v1_delete_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner)
Destroy the buffer.
void cqasm_v1_switch_to_buffer(YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
Switch to a different input buffer.
unsigned short int flex_uint16_t
void cqasm_v1set_column(int _column_no, yyscan_t yyscanner)
Set the current column.
int cqasm_v1get_leng(yyscan_t yyscanner)
Get the length of the current token.
void cqasm_v1set_debug(int debug_flag, yyscan_t yyscanner)
int cqasm_v1lex_init(yyscan_t *scanner)
void cqasm_v1set_lineno(int _line_number, yyscan_t yyscanner)
Set the current line number.
void cqasm_v1set_out(FILE *_out_str, yyscan_t yyscanner)
int cqasm_v1get_debug(yyscan_t yyscanner)
int cqasm_v1lex_init_extra(YY_EXTRA_TYPE user_defined, yyscan_t *scanner)
#define cqasm_v1wrap(yyscanner)