PIPS
comment2pragma.c File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "defines-local.h"
#include <unistd.h>
+ Include dependency graph for comment2pragma.c:

Go to the source code of this file.

Data Structures

struct  yy_buffer_state
 
struct  yy_trans_info
 This struct is not used in this scanner, but its presence is necessary. More...
 

Macros

#define YY_NO_INPUT   1
 
#define IN_PIPS   1
 
#define YY_INT_ALIGNED   short int
 
#define yy_create_buffer   comment2pragma_create_buffer
 A lexical scanner generated by flex. More...
 
#define yy_delete_buffer   comment2pragma_delete_buffer
 
#define yy_scan_buffer   comment2pragma_scan_buffer
 
#define yy_scan_string   comment2pragma_scan_string
 
#define yy_scan_bytes   comment2pragma_scan_bytes
 
#define yy_init_buffer   comment2pragma_init_buffer
 
#define yy_flush_buffer   comment2pragma_flush_buffer
 
#define yy_load_buffer_state   comment2pragma_load_buffer_state
 
#define yy_switch_to_buffer   comment2pragma_switch_to_buffer
 
#define yypush_buffer_state   comment2pragmapush_buffer_state
 
#define yypop_buffer_state   comment2pragmapop_buffer_state
 
#define yyensure_buffer_stack   comment2pragmaensure_buffer_stack
 
#define yy_flex_debug   comment2pragma_flex_debug
 
#define yyin   comment2pragmain
 
#define yyleng   comment2pragmaleng
 
#define yylex   comment2pragmalex
 
#define yylineno   comment2pragmalineno
 
#define yyout   comment2pragmaout
 
#define yyrestart   comment2pragmarestart
 
#define yytext   comment2pragmatext
 
#define yywrap   comment2pragmawrap
 
#define yyalloc   comment2pragmaalloc
 
#define yyrealloc   comment2pragmarealloc
 
#define yyfree   comment2pragmafree
 
#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 comment2pragma_create_buffer_ALREADY_DEFINED
 
#define comment2pragma_delete_buffer_ALREADY_DEFINED
 
#define comment2pragma_scan_buffer_ALREADY_DEFINED
 
#define comment2pragma_scan_string_ALREADY_DEFINED
 
#define comment2pragma_scan_bytes_ALREADY_DEFINED
 
#define comment2pragma_init_buffer_ALREADY_DEFINED
 
#define comment2pragma_flush_buffer_ALREADY_DEFINED
 
#define comment2pragma_load_buffer_state_ALREADY_DEFINED
 
#define comment2pragma_switch_to_buffer_ALREADY_DEFINED
 
#define comment2pragmapush_buffer_state_ALREADY_DEFINED
 
#define comment2pragmapop_buffer_state_ALREADY_DEFINED
 
#define comment2pragmaensure_buffer_stack_ALREADY_DEFINED
 
#define comment2pragmalex_ALREADY_DEFINED
 
#define comment2pragmarestart_ALREADY_DEFINED
 
#define yylex_init   comment2pragmalex_init
 
#define yylex_init_extra   comment2pragmalex_init_extra
 
#define yylex_destroy(void)   comment2pragmalex_destroy
 Accessor methods to globals. More...
 
#define yyget_debug   comment2pragmaget_debug
 
#define yyset_debug   comment2pragmaset_debug
 
#define yyget_extra   comment2pragmaget_extra
 
#define yyset_extra   comment2pragmaset_extra
 
#define yyget_in   comment2pragmaget_in
 
#define yyset_in   comment2pragmaset_in
 
#define yyget_out   comment2pragmaget_out
 
#define yyset_out   comment2pragmaset_out
 
#define yyget_leng   comment2pragmaget_leng
 
#define yyget_text   comment2pragmaget_text
 
#define yyget_lineno   comment2pragmaget_lineno
 
#define yyset_lineno   comment2pragmaset_lineno
 
#define comment2pragmawrap_ALREADY_DEFINED
 
#define comment2pragmaalloc_ALREADY_DEFINED
 
#define comment2pragmarealloc_ALREADY_DEFINED
 
#define comment2pragmafree_ALREADY_DEFINED
 
#define comment2pragmatext_ALREADY_DEFINED
 
#define comment2pragmaleng_ALREADY_DEFINED
 
#define comment2pragmain_ALREADY_DEFINED
 
#define comment2pragmaout_ALREADY_DEFINED
 
#define comment2pragma_flex_debug_ALREADY_DEFINED
 
#define comment2pragmalineno_ALREADY_DEFINED
 
#define FLEXINT_H
 First, we deal with platform-specific or compiler-specific issues. More...
 
#define INT8_MIN   (-128)
 Limits of integral types. More...
 
#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
 ! C99 More...
 
#define yynoreturn
 
#define YY_NULL   0
 Returned upon end-of-file. More...
 
#define YY_SC_TO_UI(c)   ((YY_CHAR) (c))
 Promotes a possibly negative, possibly signed char to an integer in range [0..255] for use as an array index. More...
 
#define BEGIN   (yy_start) = 1 + 2 *
 Enter a start condition. More...
 
#define YY_START   (((yy_start) - 1) / 2)
 Translate the current start state into a value that can be later handed to BEGIN to return to the state. More...
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
 Action number for EOF rule of a given start state. More...
 
#define YY_NEW_FILE   yyrestart( yyin )
 Special action meaning "start processing a new file". More...
 
#define YY_END_OF_BUFFER_CHAR   0
 
#define YY_BUF_SIZE   16384
 Size of default input buffer. More...
 
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
 ia64 More...
 
#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)
 Return all but the first "n" matched characters back to the input stream. More...
 
#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
 When an EOF's been seen but there's still some text to process then we mark the buffer as YY_EOF_PENDING, to indicate that we shouldn't try reading from the input source any more. More...
 
#define YY_CURRENT_BUFFER
 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". More...
 
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
 Same as previous macro, but useful when we know that the buffer stack is not NULL or when we need an lvalue. More...
 
#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 comment2pragmawrap()   (/**ONSTCOND*/1)
 Begin user sect3. More...
 
#define YY_SKIP_YYWRAP
 
#define yytext_ptr   yytext
 
#define YY_DO_BEFORE_ACTION
 Done after the current pattern has been matched and before the corresponding action - sets up yytext. More...
 
#define YY_NUM_RULES   19
 
#define YY_END_OF_BUFFER   20
 
#define REJECT   reject_used_but_not_detected
 The intent behind this definition is that it'll catch any uses of REJECT which flex missed. More...
 
#define yymore()   ((yy_more_flag) = 1)
 
#define YY_MORE_ADJ   (yy_more_len)
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define DIRECTIVE_STEP   0
 
#define DIRECTIVE_OMP   1
 
#define YY_NO_INPUT   1
 
#define INITIAL   0
 
#define comment_fixe   1
 
#define directive_fixe   2
 
#define directive_fixe_comment   3
 
#define directive_fixe_continuation   4
 
#define comment_libre   5
 
#define directive_libre   6
 
#define directive_libre_comment   7
 
#define directive_libre_continuation   8
 
#define other_line   9
 
#define YY_EXTRA_TYPE   void *
 Special case for "unistd.h", since it is non-ANSI. More...
 
#define YY_READ_BUF_SIZE   8192
 Macros after this point can all be overridden by user definitions in section 1. More...
 
#define ECHO   do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
 ia64 More...
 
#define YY_INPUT(buf, result, max_size)
 Gets input and stuffs it into "buf". More...
 
#define yyterminate()   return YY_NULL
 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. More...
 
#define YY_START_STACK_INCR   25
 Number of entries by which start-condition stack grows. More...
 
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
 Report a fatal error. More...
 
#define YY_DECL_IS_OURS   1
 end tables serialization structures and prototypes More...
 
#define YY_DECL   int yylex (void)
 
#define YY_USER_ACTION
 !YY_DECL More...
 
#define YY_BREAK   /**INTED*/break;
 Code executed at the end of each rule. More...
 
#define YY_RULE_SETUP
 
#define YY_EXIT_FAILURE   2
 
#define yyless(n)
 Return all but the first "n" matched characters back to the input stream. More...
 
#define YYTABLES_NAME   "yytables"
 

Typedefs

typedef signed char flex_int8_t
 C99 systems have <inttypes.h>. More...
 
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
 

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)
 
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 * yyrealloc (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 directive_start (int type)
 
static void directive_reset (void)
 
static void append (char **buffer)
 
static void clean_buffer (char **buffer)
 
static void end_directive (void)
 
static void end_comment (void)
 
static int yy_init_globals (void)
 
void yyset_debug (int debug_flag)
 
void yyset_extra (YY_EXTRA_TYPE user_defined)
 
void yyset_in (FILE *_in_str)
 
void yyset_out (FILE *_out_str)
 
void yyset_lineno (int _line_number)
 
 if (!(yy_init))
 

Variables

int yyleng
 number of characters read into yy_ch_buf More...
 
FILE * yyin
 
FILE * yyout
 
static size_t yy_buffer_stack_top = 0
 !YY_STRUCT_YY_BUFFER_STATE More...
 
static size_t yy_buffer_stack_max = 0
 capacity of stack. More...
 
static YY_BUFFER_STATEyy_buffer_stack = NULL
 Stack as an array. More...
 
static char yy_hold_char
 yy_hold_char holds the character lost when yytext is formed. More...
 
static int yy_n_chars
 
static char * yy_c_buf_p = NULL
 Points to current character in buffer. More...
 
static int yy_init = 0
 
static int yy_start = 0
 whether we need to initialize More...
 
static int yy_did_buffer_switch_on_eof
 start state number More...
 
int yylineno = 1
 Begin user sect3. More...
 
char * yytext
 
static const flex_int16_t yy_accept [95]
 
static const YY_CHAR yy_ec [256]
 
static const YY_CHAR yy_meta [21]
 
static const flex_int16_t yy_base [110]
 
static const flex_int16_t yy_def [110]
 
static const flex_int16_t yy_nxt [214]
 
static const flex_int16_t yy_chk [214]
 
static yy_state_type yy_last_accepting_state
 
static char * yy_last_accepting_cpos
 
int yy_flex_debug = 0
 
static int yy_more_flag = 0
 
static int yy_more_len = 0
 
static statement current_statement = statement_undefined
 
static char * directive_txt = NULL
 
static char * comment_txt = NULL
 
static int directive_syntaxe = -1
 
static int directive_type = -1
 
 YY_DECL
 The main scanner function which does all the work. More...
 
char * yy_cp
 
char * yy_bp
 
int yy_act
 

Macro Definition Documentation

◆ BEGIN

#define BEGIN   (yy_start) = 1 + 2 *

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.

Definition at line 378 of file comment2pragma.c.

◆ comment2pragma_create_buffer_ALREADY_DEFINED

#define comment2pragma_create_buffer_ALREADY_DEFINED

Definition at line 44 of file comment2pragma.c.

◆ comment2pragma_delete_buffer_ALREADY_DEFINED

#define comment2pragma_delete_buffer_ALREADY_DEFINED

Definition at line 50 of file comment2pragma.c.

◆ comment2pragma_flex_debug_ALREADY_DEFINED

#define comment2pragma_flex_debug_ALREADY_DEFINED

Definition at line 266 of file comment2pragma.c.

◆ comment2pragma_flush_buffer_ALREADY_DEFINED

#define comment2pragma_flush_buffer_ALREADY_DEFINED

Definition at line 80 of file comment2pragma.c.

◆ comment2pragma_init_buffer_ALREADY_DEFINED

#define comment2pragma_init_buffer_ALREADY_DEFINED

Definition at line 74 of file comment2pragma.c.

◆ comment2pragma_load_buffer_state_ALREADY_DEFINED

#define comment2pragma_load_buffer_state_ALREADY_DEFINED

Definition at line 86 of file comment2pragma.c.

◆ comment2pragma_scan_buffer_ALREADY_DEFINED

#define comment2pragma_scan_buffer_ALREADY_DEFINED

Definition at line 56 of file comment2pragma.c.

◆ comment2pragma_scan_bytes_ALREADY_DEFINED

#define comment2pragma_scan_bytes_ALREADY_DEFINED

Definition at line 68 of file comment2pragma.c.

◆ comment2pragma_scan_string_ALREADY_DEFINED

#define comment2pragma_scan_string_ALREADY_DEFINED

Definition at line 62 of file comment2pragma.c.

◆ comment2pragma_switch_to_buffer_ALREADY_DEFINED

#define comment2pragma_switch_to_buffer_ALREADY_DEFINED

Definition at line 92 of file comment2pragma.c.

◆ comment2pragmaalloc_ALREADY_DEFINED

#define comment2pragmaalloc_ALREADY_DEFINED

Definition at line 224 of file comment2pragma.c.

◆ comment2pragmaensure_buffer_stack_ALREADY_DEFINED

#define comment2pragmaensure_buffer_stack_ALREADY_DEFINED

Definition at line 110 of file comment2pragma.c.

◆ comment2pragmafree_ALREADY_DEFINED

#define comment2pragmafree_ALREADY_DEFINED

Definition at line 236 of file comment2pragma.c.

◆ comment2pragmain_ALREADY_DEFINED

#define comment2pragmain_ALREADY_DEFINED

Definition at line 254 of file comment2pragma.c.

◆ comment2pragmaleng_ALREADY_DEFINED

#define comment2pragmaleng_ALREADY_DEFINED

Definition at line 248 of file comment2pragma.c.

◆ comment2pragmalex_ALREADY_DEFINED

#define comment2pragmalex_ALREADY_DEFINED

Definition at line 116 of file comment2pragma.c.

◆ comment2pragmalineno_ALREADY_DEFINED

#define comment2pragmalineno_ALREADY_DEFINED

Definition at line 272 of file comment2pragma.c.

◆ comment2pragmaout_ALREADY_DEFINED

#define comment2pragmaout_ALREADY_DEFINED

Definition at line 260 of file comment2pragma.c.

◆ comment2pragmapop_buffer_state_ALREADY_DEFINED

#define comment2pragmapop_buffer_state_ALREADY_DEFINED

Definition at line 104 of file comment2pragma.c.

◆ comment2pragmapush_buffer_state_ALREADY_DEFINED

#define comment2pragmapush_buffer_state_ALREADY_DEFINED

Definition at line 98 of file comment2pragma.c.

◆ comment2pragmarealloc_ALREADY_DEFINED

#define comment2pragmarealloc_ALREADY_DEFINED

Definition at line 230 of file comment2pragma.c.

◆ comment2pragmarestart_ALREADY_DEFINED

#define comment2pragmarestart_ALREADY_DEFINED

Definition at line 122 of file comment2pragma.c.

◆ comment2pragmatext_ALREADY_DEFINED

#define comment2pragmatext_ALREADY_DEFINED

Definition at line 242 of file comment2pragma.c.

◆ comment2pragmawrap

#define comment2pragmawrap ( )    (/**ONSTCOND*/1)

Begin user sect3.

Definition at line 587 of file comment2pragma.c.

◆ comment2pragmawrap_ALREADY_DEFINED

#define comment2pragmawrap_ALREADY_DEFINED

Definition at line 218 of file comment2pragma.c.

◆ comment_fixe

#define comment_fixe   1

Definition at line 826 of file comment2pragma.c.

◆ comment_libre

#define comment_libre   5

Definition at line 830 of file comment2pragma.c.

◆ directive_fixe

#define directive_fixe   2

Definition at line 827 of file comment2pragma.c.

◆ directive_fixe_comment

#define directive_fixe_comment   3

Definition at line 828 of file comment2pragma.c.

◆ directive_fixe_continuation

#define directive_fixe_continuation   4

Definition at line 829 of file comment2pragma.c.

◆ directive_libre

#define directive_libre   6

Definition at line 831 of file comment2pragma.c.

◆ directive_libre_comment

#define directive_libre_comment   7

Definition at line 832 of file comment2pragma.c.

◆ directive_libre_continuation

#define directive_libre_continuation   8

Definition at line 833 of file comment2pragma.c.

◆ DIRECTIVE_OMP

#define DIRECTIVE_OMP   1

Definition at line 805 of file comment2pragma.c.

◆ DIRECTIVE_STEP

#define DIRECTIVE_STEP   0

Definition at line 804 of file comment2pragma.c.

◆ ECHO

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

ia64

Copy whatever the last rule matched to the standard output. This used to be an fputs(), but since the string might contain NUL's, we now use fwrite().

Definition at line 927 of file comment2pragma.c.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 422 of file comment2pragma.c.

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 423 of file comment2pragma.c.

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 424 of file comment2pragma.c.

◆ FLEX_BETA

#define FLEX_BETA

Definition at line 40 of file comment2pragma.c.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 35 of file comment2pragma.c.

◆ FLEXINT_H

#define FLEXINT_H

First, we deal with platform-specific or compiler-specific issues.

begin standard C headers. end standard C headers. flex integer type definitions

Definition at line 290 of file comment2pragma.c.

◆ IN_PIPS

#define IN_PIPS   1

Definition at line 5 of file comment2pragma.c.

◆ INITIAL

#define INITIAL   0

Definition at line 825 of file comment2pragma.c.

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 332 of file comment2pragma.c.

◆ INT16_MIN

#define INT16_MIN   (-32767-1)

Definition at line 323 of file comment2pragma.c.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 335 of file comment2pragma.c.

◆ INT32_MIN

#define INT32_MIN   (-2147483647-1)

Definition at line 326 of file comment2pragma.c.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 329 of file comment2pragma.c.

◆ INT8_MIN

#define INT8_MIN   (-128)

Limits of integral types.

Definition at line 320 of file comment2pragma.c.

◆ other_line

#define other_line   9

Definition at line 834 of file comment2pragma.c.

◆ REJECT

#define REJECT   reject_used_but_not_detected

The intent behind this definition is that it'll catch any uses of REJECT which flex missed.

Definition at line 778 of file comment2pragma.c.

◆ SIZE_MAX

#define SIZE_MAX   (~(size_t)0)

Definition at line 348 of file comment2pragma.c.

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 341 of file comment2pragma.c.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 344 of file comment2pragma.c.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 338 of file comment2pragma.c.

◆ unput

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

Definition at line 442 of file comment2pragma.c.

◆ YY_AT_BOL

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 583 of file comment2pragma.c.

◆ YY_BREAK

#define YY_BREAK   /**INTED*/break;

Code executed at the end of each rule.

Definition at line 1006 of file comment2pragma.c.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Size of default input buffer.

Definition at line 400 of file comment2pragma.c.

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

When an EOF's been seen but there's still some text to process then we mark the buffer as YY_EOF_PENDING, to indicate that we shouldn't try reading from the input source any more.

We might still have a bunch of tokens to match, though, because of possible backing-up.

When we actually see the EOF, we change the status to "new" (via yyrestart()), so that the user can continue scanning by just pointing yyin at a new input file.

Definition at line 504 of file comment2pragma.c.

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 492 of file comment2pragma.c.

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 493 of file comment2pragma.c.

◆ yy_create_buffer

#define yy_create_buffer   comment2pragma_create_buffer

A lexical scanner generated by flex.

Definition at line 10 of file comment2pragma.c.

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER
Value:
: NULL)
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
static size_t yy_buffer_stack_top
!YY_STRUCT_YY_BUFFER_STATE

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".

Returns the top of the stack, or NULL.

Definition at line 520 of file comment2pragma.c.

◆ YY_CURRENT_BUFFER_LVALUE

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Same as previous macro, but useful when we know that the buffer stack is not NULL or when we need an lvalue.

For internal use only.

Definition at line 526 of file comment2pragma.c.

◆ YY_DECL

#define YY_DECL   int yylex (void)

Definition at line 994 of file comment2pragma.c.

◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS   1

end tables serialization structures and prototypes

Default declaration of generated scanner - a define so the user can easily add parameters.

Definition at line 990 of file comment2pragma.c.

◆ yy_delete_buffer

#define yy_delete_buffer   comment2pragma_delete_buffer

Definition at line 11 of file comment2pragma.c.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
yyleng = (int) (yy_cp - (yytext_ptr)); \
*yy_cp = '\0'; \
void const char const char const int
static char yy_hold_char
yy_hold_char holds the character lost when yytext is formed.
static int yy_more_len
char * yy_cp
#define yytext_ptr
char * yy_bp
static char * yy_c_buf_p
Points to current character in buffer.

Done after the current pattern has been matched and before the corresponding action - sets up yytext.

Definition at line 612 of file comment2pragma.c.

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   20

Definition at line 620 of file comment2pragma.c.

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 389 of file comment2pragma.c.

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   void *

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. The user has a chance to override it with an option.

Definition at line 845 of file comment2pragma.c.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg )

Report a fatal error.

Definition at line 981 of file comment2pragma.c.

◆ yy_flex_debug

#define yy_flex_debug   comment2pragma_flex_debug

Definition at line 22 of file comment2pragma.c.

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 36 of file comment2pragma.c.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   6

Definition at line 37 of file comment2pragma.c.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   4

Definition at line 38 of file comment2pragma.c.

◆ yy_flush_buffer

#define yy_flush_buffer   comment2pragma_flush_buffer

Definition at line 16 of file comment2pragma.c.

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   yy_flush_buffer( YY_CURRENT_BUFFER )

Definition at line 554 of file comment2pragma.c.

◆ yy_init_buffer

#define yy_init_buffer   comment2pragma_init_buffer

Definition at line 15 of file comment2pragma.c.

◆ YY_INPUT

#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
int n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else \
{ \
errno=0; \
while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
errno=0; \
clearerr(yyin); \
} \
}\
\
#define YY_CURRENT_BUFFER_LVALUE
Same as previous macro, but useful when we know that the buffer stack is not NULL or when we need an ...
#define yyin
size_t yy_size_t
Definition: genread_lex.c:413
static char buf[BSZ]
Definition: split_file.c:157

Gets input and stuffs it into "buf".

number of characters read, or YY_NULL, is returned in "result".

Definition at line 934 of file comment2pragma.c.

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Definition at line 6 of file comment2pragma.c.

◆ YY_LESS_LINENO

#define YY_LESS_LINENO (   n)

Definition at line 426 of file comment2pragma.c.

◆ YY_LINENO_REWIND_TO

#define YY_LINENO_REWIND_TO (   ptr)

Definition at line 427 of file comment2pragma.c.

◆ yy_load_buffer_state

#define yy_load_buffer_state (   void)    comment2pragma_load_buffer_state

Definition at line 17 of file comment2pragma.c.

Referenced by if().

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   (yy_more_len)

Definition at line 782 of file comment2pragma.c.

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 564 of file comment2pragma.c.

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart( yyin )

Special action meaning "start processing a new file".

Definition at line 388 of file comment2pragma.c.

◆ YY_NO_INPUT [1/2]

#define YY_NO_INPUT   1

Definition at line 808 of file comment2pragma.c.

◆ YY_NO_INPUT [2/2]

#define YY_NO_INPUT   1

Definition at line 808 of file comment2pragma.c.

◆ YY_NULL

#define YY_NULL   0

Returned upon end-of-file.

Definition at line 367 of file comment2pragma.c.

◆ YY_NUM_RULES

#define YY_NUM_RULES   19

Definition at line 619 of file comment2pragma.c.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Macros after this point can all be overridden by user definitions in section 1.

Amount of stuff to slurp up with each read.

Definition at line 918 of file comment2pragma.c.

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 783 of file comment2pragma.c.

◆ YY_RULE_SETUP

#define YY_RULE_SETUP
Value:
if ( yyleng > 0 ) \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
(yytext[yyleng - 1] == '\n'); \
YY_USER_ACTION
#define yytext
#define yyleng

Definition at line 1009 of file comment2pragma.c.

◆ YY_SC_TO_UI

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

Promotes a possibly negative, possibly signed char to an integer in range [0..255] for use as an array index.

Definition at line 372 of file comment2pragma.c.

◆ yy_scan_buffer

#define yy_scan_buffer   comment2pragma_scan_buffer

Definition at line 12 of file comment2pragma.c.

◆ yy_scan_bytes

#define yy_scan_bytes   comment2pragma_scan_bytes

Definition at line 14 of file comment2pragma.c.

◆ yy_scan_string

#define yy_scan_string   comment2pragma_scan_string

Definition at line 13 of file comment2pragma.c.

◆ yy_set_bol

#define yy_set_bol (   at_bol)
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_CURRENT_BUFFER
We provide macros for accessing buffer states in case in the future we want to put the buffer states ...
#define YY_BUF_SIZE
Size of default input buffer.

Definition at line 574 of file comment2pragma.c.

◆ yy_set_interactive

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

Definition at line 565 of file comment2pragma.c.

◆ YY_SKIP_YYWRAP

#define YY_SKIP_YYWRAP

Definition at line 588 of file comment2pragma.c.

◆ YY_START

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

Translate the current start state into a value that can be later handed to BEGIN to return to the state.

The YYSTATE alias is for lex compatibility.

Definition at line 383 of file comment2pragma.c.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Number of entries by which start-condition stack grows.

Definition at line 976 of file comment2pragma.c.

◆ YY_STATE_BUF_SIZE

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

ia64

The state buf must be large enough to hold one state per character in the main buffer.

Definition at line 406 of file comment2pragma.c.

◆ YY_STATE_EOF

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

Action number for EOF rule of a given start state.

Definition at line 386 of file comment2pragma.c.

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 445 of file comment2pragma.c.

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   comment2pragma_switch_to_buffer

Definition at line 18 of file comment2pragma.c.

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 409 of file comment2pragma.c.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 414 of file comment2pragma.c.

◆ YY_USER_ACTION

#define YY_USER_ACTION

!YY_DECL

Code executed at the beginning of each rule, after yytext and yyleng have been set up.

Definition at line 1001 of file comment2pragma.c.

◆ yyalloc

Definition at line 31 of file comment2pragma.c.

◆ yyconst

#define yyconst   const

! C99

! FLEXINT_H begin standard C++ headers. TODO: this is always defined, so inline it

Definition at line 358 of file comment2pragma.c.

◆ yyensure_buffer_stack

#define yyensure_buffer_stack (   void)    comment2pragmaensure_buffer_stack

Definition at line 21 of file comment2pragma.c.

Referenced by if().

◆ yyfree

#define yyfree   comment2pragmafree

Definition at line 33 of file comment2pragma.c.

◆ yyget_debug

#define yyget_debug (   void)    comment2pragmaget_debug

Definition at line 148 of file comment2pragma.c.

◆ yyget_extra

#define yyget_extra (   void)    comment2pragmaget_extra

Definition at line 160 of file comment2pragma.c.

◆ yyget_in

#define yyget_in (   void)    comment2pragmaget_in

Definition at line 172 of file comment2pragma.c.

◆ yyget_leng

#define yyget_leng (   void)    comment2pragmaget_leng

Definition at line 196 of file comment2pragma.c.

◆ yyget_lineno

#define yyget_lineno (   void)    comment2pragmaget_lineno

Definition at line 208 of file comment2pragma.c.

◆ yyget_out

#define yyget_out (   void)    comment2pragmaget_out

Definition at line 184 of file comment2pragma.c.

◆ yyget_text

#define yyget_text (   void)    comment2pragmaget_text

Definition at line 202 of file comment2pragma.c.

◆ yyin

#define yyin   comment2pragmain

Definition at line 23 of file comment2pragma.c.

◆ yyleng

#define yyleng   comment2pragmaleng

Definition at line 24 of file comment2pragma.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_RESTORE_YY_MORE_OFFSET \
(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_MORE_ADJ

Return all but the first "n" matched characters back to the input stream.

Definition at line 430 of file comment2pragma.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);\
yytext[yyleng] = (yy_hold_char); \
(yy_c_buf_p) = yytext + yyless_macro_arg; \
*(yy_c_buf_p) = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )

Return all but the first "n" matched characters back to the input stream.

Definition at line 430 of file comment2pragma.c.

◆ yylex

#define yylex (   void)    comment2pragmalex

Definition at line 25 of file comment2pragma.c.

◆ yylex_destroy

#define yylex_destroy (   void)    comment2pragmalex_destroy

Accessor methods to globals.

These are made visible to non-reentrant scanners for convenience.

Definition at line 142 of file comment2pragma.c.

◆ yylex_init

#define yylex_init   comment2pragmalex_init

Definition at line 130 of file comment2pragma.c.

◆ yylex_init_extra

#define yylex_init_extra   comment2pragmalex_init_extra

Definition at line 136 of file comment2pragma.c.

◆ yylineno

#define yylineno   comment2pragmalineno

Definition at line 26 of file comment2pragma.c.

◆ yymore

#define yymore ( )    ((yy_more_flag) = 1)

Definition at line 781 of file comment2pragma.c.

◆ yynoreturn

#define yynoreturn

Definition at line 363 of file comment2pragma.c.

◆ yyout

#define yyout   comment2pragmaout

Definition at line 27 of file comment2pragma.c.

◆ yypop_buffer_state

#define yypop_buffer_state (   void)    comment2pragmapop_buffer_state

Definition at line 20 of file comment2pragma.c.

◆ yypush_buffer_state

#define yypush_buffer_state   comment2pragmapush_buffer_state

Definition at line 19 of file comment2pragma.c.

◆ yyrealloc

#define yyrealloc   comment2pragmarealloc

Definition at line 32 of file comment2pragma.c.

◆ yyrestart

#define yyrestart   comment2pragmarestart

Definition at line 28 of file comment2pragma.c.

◆ yyset_debug

#define yyset_debug   comment2pragmaset_debug

Definition at line 154 of file comment2pragma.c.

◆ yyset_extra

#define yyset_extra   comment2pragmaset_extra

Definition at line 166 of file comment2pragma.c.

◆ yyset_in

#define yyset_in   comment2pragmaset_in

Definition at line 178 of file comment2pragma.c.

◆ yyset_lineno

#define yyset_lineno   comment2pragmaset_lineno

Definition at line 214 of file comment2pragma.c.

◆ yyset_out

#define yyset_out   comment2pragmaset_out

Definition at line 190 of file comment2pragma.c.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 384 of file comment2pragma.c.

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

◆ yyterminate

#define yyterminate ( )    return YY_NULL

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.

Definition at line 971 of file comment2pragma.c.

◆ yytext

#define yytext   comment2pragmatext

Definition at line 29 of file comment2pragma.c.

◆ yytext_ptr

#define yytext_ptr   yytext

Definition at line 602 of file comment2pragma.c.

◆ yywrap

#define yywrap (   void)    comment2pragmawrap

Definition at line 30 of file comment2pragma.c.

Typedef Documentation

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 312 of file comment2pragma.c.

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 313 of file comment2pragma.c.

◆ flex_int8_t

typedef signed char flex_int8_t

C99 systems have <inttypes.h>.

Non-C99 systems may or may not.

Definition at line 311 of file comment2pragma.c.

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 315 of file comment2pragma.c.

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 316 of file comment2pragma.c.

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 314 of file comment2pragma.c.

◆ YY_BUFFER_STATE

Definition at line 410 of file comment2pragma.c.

◆ YY_CHAR

Definition at line 589 of file comment2pragma.c.

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 415 of file comment2pragma.c.

◆ yy_state_type

typedef int yy_state_type

Definition at line 593 of file comment2pragma.c.

Function Documentation

◆ append()

static void append ( char **  buffer)
static

◆ clean_buffer()

static void clean_buffer ( char **  buffer)
static

◆ directive_reset()

static void directive_reset ( void  )
static

◆ directive_start()

static void directive_start ( int  type)
static

◆ end_comment()

static void end_comment ( void  )
static

◆ end_directive()

static void end_directive ( void  )
static

Referenced by step_directive_to_strings().

+ Here is the caller graph for this function:

◆ if()

if ( yy_init)

first start state

Definition at line 1023 of file comment2pragma.c.

1024  {
1025  (yy_init) = 1;
1026 
1027 #ifdef YY_USER_INIT
1028  YY_USER_INIT;
1029 #endif
1030 
1031  if ( ! (yy_start) )
1032  (yy_start) = 1; /* first start state */
1033 
1034  if ( ! yyin )
1035  yyin = stdin;
1036 
1037  if ( ! yyout )
1038  yyout = stdout;
1039 
1040  if ( ! YY_CURRENT_BUFFER ) {
1044  }
1045 
1047  }
#define yy_load_buffer_state
static int yy_start
whether we need to initialize
#define yyout
#define yyensure_buffer_stack
#define yy_create_buffer
A lexical scanner generated by flex.
static int yy_init

References YY_BUF_SIZE, yy_create_buffer, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init, yy_load_buffer_state, yy_start, yyensure_buffer_stack, yyin, and yyout.

◆ 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_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  )

◆ yyfree()

void yyfree ( void *  )

◆ yypush_buffer_state()

void yypush_buffer_state ( YY_BUFFER_STATE  new_buffer)

◆ yyrealloc()

void* yyrealloc ( void *  ,
yy_size_t   
)

◆ 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)

Variable Documentation

◆ comment_txt

char* comment_txt = NULL
static

Definition at line 792 of file comment2pragma.c.

◆ current_statement

statement current_statement = statement_undefined
static

Definition at line 789 of file comment2pragma.c.

◆ directive_syntaxe

int directive_syntaxe = -1
static

Definition at line 801 of file comment2pragma.c.

◆ directive_txt

◆ directive_type

int directive_type = -1
static

Definition at line 802 of file comment2pragma.c.

◆ yy_accept

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

Definition at line 628 of file comment2pragma.c.

◆ yy_act

int yy_act

Definition at line 1021 of file comment2pragma.c.

◆ yy_base

const flex_int16_t yy_base[110]
static
Initial value:
=
{ 0,
0, 0, 6, 7, 2, 10, 12, 14, 187, 186,
16, 17, 20, 24, 28, 32, 36, 38, 187, 186,
188, 193, 193, 193, 193, 21, 184, 193, 32, 0,
40, 0, 41, 0, 193, 0, 178, 182, 193, 193,
29, 178, 193, 40, 39, 0, 171, 0, 45, 43,
0, 0, 58, 168, 193, 52, 56, 61, 55, 60,
158, 160, 64, 67, 65, 0, 69, 77, 193, 153,
74, 80, 193, 0, 81, 79, 193, 0, 86, 193,
88, 92, 193, 0, 40, 90, 143, 97, 103, 142,
76, 104, 60, 193, 112, 117, 122, 127, 132, 137,
142, 147, 152, 157, 159, 164, 169, 174, 179
}

Definition at line 681 of file comment2pragma.c.

◆ yy_bp

char * yy_bp

Definition at line 1020 of file comment2pragma.c.

◆ yy_buffer_stack

YY_BUFFER_STATE* yy_buffer_stack = NULL
static

Stack as an array.

Definition at line 512 of file comment2pragma.c.

◆ yy_buffer_stack_max

size_t yy_buffer_stack_max = 0
static

capacity of stack.

Definition at line 511 of file comment2pragma.c.

◆ yy_buffer_stack_top

size_t yy_buffer_stack_top = 0
static

!YY_STRUCT_YY_BUFFER_STATE

Stack of input buffers. index of top of stack.

Definition at line 510 of file comment2pragma.c.

◆ yy_c_buf_p

char* yy_c_buf_p = NULL
static

Points to current character in buffer.

Definition at line 534 of file comment2pragma.c.

◆ yy_chk

const flex_int16_t yy_chk[214]
static
Initial value:
=
{ 0,
0, 0, 2, 2, 5, 5, 2, 2, 3, 4,
3, 4, 6, 6, 7, 7, 8, 8, 11, 12,
11, 12, 13, 13, 26, 13, 14, 14, 26, 14,
15, 15, 41, 15, 16, 16, 41, 16, 17, 17,
18, 18, 29, 31, 29, 85, 31, 85, 29, 44,
29, 33, 45, 33, 49, 44, 50, 33, 45, 33,
49, 53, 50, 56, 57, 53, 59, 93, 60, 56,
57, 58, 59, 58, 60, 63, 64, 58, 65, 58,
67, 63, 64, 91, 65, 71, 67, 68, 72, 68,
75, 71, 76, 68, 72, 68, 75, 79, 76, 81,
82, 86, 88, 79, 88, 81, 82, 86, 89, 92,
89, 92, 95, 95, 95, 95, 95, 96, 96, 96,
96, 96, 97, 97, 97, 97, 97, 98, 98, 98,
98, 98, 99, 99, 99, 99, 99, 100, 100, 100,
100, 100, 101, 101, 101, 101, 101, 102, 102, 90,
87, 102, 103, 103, 70, 103, 103, 104, 104, 105,
105, 62, 61, 105, 106, 106, 106, 106, 106, 107,
54, 107, 107, 107, 108, 47, 108, 108, 108, 109,
42, 109, 109, 109, 38, 37, 27, 21, 20, 19,
10, 9, 94, 94, 94, 94, 94, 94, 94, 94,
94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
94, 94, 94
}

Definition at line 741 of file comment2pragma.c.

◆ yy_cp

char* yy_cp

Definition at line 1020 of file comment2pragma.c.

◆ YY_DECL

YY_DECL
Initial value:
{
yy_state_type yy_current_state
int yy_state_type
Definition: genread_lex.c:588

The main scanner function which does all the work.

Definition at line 1017 of file comment2pragma.c.

◆ yy_def

const flex_int16_t yy_def[110]
static
Initial value:
=
{ 0,
95, 96, 97, 97, 98, 98, 95, 95, 95, 95,
97, 97, 99, 99, 95, 95, 95, 95, 100, 100,
94, 94, 94, 94, 94, 94, 101, 94, 94, 102,
94, 103, 94, 104, 94, 105, 94, 106, 94, 94,
94, 101, 94, 94, 94, 102, 94, 103, 94, 94,
104, 105, 94, 106, 94, 94, 94, 94, 94, 94,
94, 94, 94, 94, 94, 107, 94, 94, 94, 94,
94, 94, 94, 108, 94, 94, 94, 109, 94, 94,
94, 94, 94, 109, 94, 94, 94, 94, 94, 94,
94, 94, 94, 0, 94, 94, 94, 94, 94, 94,
94, 94, 94, 94, 94, 94, 94, 94, 94
}

Definition at line 697 of file comment2pragma.c.

◆ yy_did_buffer_switch_on_eof

int yy_did_buffer_switch_on_eof
static

start state number

Flag which is used to allow yywrap()'s to do buffer switches instead of setting up a fresh yyin. A bit of a hack ...

Definition at line 541 of file comment2pragma.c.

◆ yy_ec

const YY_CHAR yy_ec[256]
static

Definition at line 643 of file comment2pragma.c.

◆ yy_flex_debug

int yy_flex_debug = 0

Definition at line 773 of file comment2pragma.c.

◆ yy_hold_char

char yy_hold_char
static

yy_hold_char holds the character lost when yytext is formed.

Definition at line 529 of file comment2pragma.c.

◆ yy_init

int yy_init = 0
static

Definition at line 535 of file comment2pragma.c.

Referenced by if().

◆ yy_last_accepting_cpos

char* yy_last_accepting_cpos
static

Definition at line 770 of file comment2pragma.c.

◆ yy_last_accepting_state

yy_state_type yy_last_accepting_state
static

Definition at line 769 of file comment2pragma.c.

◆ yy_meta

const YY_CHAR yy_meta[21]
static
Initial value:
=
{ 0,
1, 2, 3, 4, 1, 5, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1
}

Definition at line 675 of file comment2pragma.c.

◆ yy_more_flag

int yy_more_flag = 0
static

Definition at line 779 of file comment2pragma.c.

◆ yy_more_len

int yy_more_len = 0
static

Definition at line 780 of file comment2pragma.c.

◆ yy_n_chars

int yy_n_chars
static

Definition at line 530 of file comment2pragma.c.

◆ yy_nxt

const flex_int16_t yy_nxt[214]
static
Initial value:
=
{ 0,
94, 94, 24, 25, 22, 22, 25, 26, 28, 28,
29, 29, 22, 22, 31, 32, 31, 32, 28, 28,
29, 29, 22, 22, 40, 22, 22, 22, 41, 22,
35, 32, 40, 36, 35, 32, 41, 36, 37, 32,
37, 32, 44, 47, 45, 87, 47, 88, 44, 56,
45, 49, 57, 50, 59, 56, 60, 49, 57, 50,
59, 61, 60, 62, 63, 53, 66, 93, 67, 62,
63, 64, 66, 65, 67, 70, 71, 64, 72, 65,
74, 70, 71, 93, 72, 78, 74, 75, 79, 76,
81, 78, 82, 75, 79, 76, 81, 84, 82, 85,
86, 89, 87, 84, 88, 85, 86, 89, 91, 91,
92, 92, 22, 22, 22, 22, 22, 23, 23, 23,
23, 23, 27, 27, 27, 27, 27, 30, 30, 30,
30, 30, 34, 34, 34, 34, 34, 38, 38, 38,
38, 38, 42, 42, 42, 42, 42, 46, 46, 90,
90, 46, 48, 48, 77, 48, 48, 51, 51, 52,
52, 69, 68, 52, 54, 54, 54, 54, 54, 73,
55, 73, 73, 73, 80, 58, 80, 80, 80, 83,
43, 83, 83, 83, 55, 53, 43, 94, 39, 39,
33, 33, 21, 94, 94, 94, 94, 94, 94, 94,
94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
94, 94, 94
}

Definition at line 713 of file comment2pragma.c.

◆ yy_start

int yy_start = 0
static

whether we need to initialize

Definition at line 536 of file comment2pragma.c.

Referenced by if().

◆ yyin

FILE* yyin

Definition at line 591 of file comment2pragma.c.

◆ yyleng

int yyleng

number of characters read into yy_ch_buf

Definition at line 531 of file comment2pragma.c.

◆ yylineno

int yylineno = 1

Begin user sect3.

Definition at line 596 of file comment2pragma.c.

◆ yyout

FILE * yyout

Definition at line 420 of file comment2pragma.c.

◆ yytext

char* yytext

Definition at line 784 of file comment2pragma.c.