My Project
Loading...
Searching...
No Matches
libparse.cc File Reference
#include <stdio.h>
#include "factory/globaldefs.h"
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include "kernel/mod2.h"
#include "Singular/subexpr.h"
#include "Singular/grammar.h"
#include "Singular/ipshell.h"
#include "Singular/ipid.h"
#include "Singular/tok.h"
#include "misc/options.h"
#include "omalloc/omalloc.h"
#include "Singular/libparse.h"

Go to the source code of this file.

Data Structures

struct  YY_BUFFER_STATE
 

Macros

#define yy_create_buffer   yylp_create_buffer
 
#define yy_delete_buffer   yylp_delete_buffer
 
#define yy_scan_buffer   yylp_scan_buffer
 
#define yy_scan_string   yylp_scan_string
 
#define yy_scan_bytes   yylp_scan_bytes
 
#define yy_flex_debug   yylp_flex_debug
 
#define yy_init_buffer   yylp_init_buffer
 
#define yy_flush_buffer   yylp_flush_buffer
 
#define yy_load_buffer_state
 
#define yy_switch_to_buffer   yylp_switch_to_buffer
 
#define yyin   yylpin
 
#define yyleng   yylpleng
 
#define yylex   yylplex
 
#define yyout   yylpout
 
#define yyrestart   yylprestart
 
#define yytext   yylptext
 
#define yywrap   yylpwrap
 
#define FLEX_SCANNER
 
#define YY_FLEX_MAJOR_VERSION   2
 
#define YY_FLEX_MINOR_VERSION   5
 
#define YY_USE_PROTOS
 
#define YY_USE_CONST
 
#define yyconst   const
 
#define YY_PROTO(proto)
 
#define YY_NULL   0
 
#define YY_SC_TO_UI(c)
 
#define BEGIN   yy_start = 1 + 2 *
 
#define YY_START   ((yy_start - 1) / 2)
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)
 
#define YY_NEW_FILE   yyrestart( yyin )
 
#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 yyless(n)
 
#define unput(c)
 
#define YY_BUFFER_NEW   0
 
#define YY_BUFFER_NORMAL   1
 
#define YY_BUFFER_EOF_PENDING   2
 
#define YY_CURRENT_BUFFER   yy_current_buffer
 
#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()
 
#define yytext_ptr   yytext
 
#define YY_DO_BEFORE_ACTION
 
#define YY_NUM_RULES   96
 
#define YY_END_OF_BUFFER   97
 
#define REJECT   reject_used_but_not_detected
 
#define yymore()
 
#define YY_MORE_ADJ   yy_more_len
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define INITIAL   0
 
#define YY_SKIP_YYWRAP
 
#define pi   IDPROC(h0)
 
#define SET_DEF_END(mode, pi, p)
 
#define SET_HELP_START(mode, pi, p)
 
#define SET_HELP_END(mode, pi, p)
 
#define SET_BODY_START(mode, pi, l, p)
 
#define SET_BODY_END(mode, pi, p)
 
#define SET_EXAMPLE_START(mode, pi, l, p)
 
#define SET_PROC_END(mode, pi, p)
 
#define ROTATE_RIGHT(c)
 
#define IncrCheckSum(c)
 
#define YY_DECL
 
#define YY_INPUT(buf, result, max_size)
 
#define YY_USER_INIT
 
#define header   1
 
#define help   2
 
#define libcmd   3
 
#define libcmd2   4
 
#define pdef   5
 
#define phead   6
 
#define poldhelp   7
 
#define phelp   8
 
#define pbody   9
 
#define pstr   10
 
#define pexample   11
 
#define pestr   12
 
#define string   13
 
#define comment   14
 
#define info   15
 
#define category   16
 
#define url   17
 
#define version   18
 
#define YY_NO_PUSH_STATE   1
 
#define YY_NO_POP_STATE   1
 
#define YY_NO_TOP_STATE   1
 
#define YY_READ_BUF_SIZE   8192
 
#define ECHO   (void) fwrite( yytext, yyleng, 1, yyout )
 
#define yyterminate()
 
#define YY_START_STACK_INCR   25
 
#define YY_FATAL_ERROR(msg)
 
#define YY_USER_ACTION
 
#define YY_BREAK   break;
 
#define YY_RULE_SETUP
 
#define YY_EXIT_FAILURE   2
 
#define yyless(n)
 

Typedefs

typedef unsigned int yy_size_t
 
typedef unsigned char YY_CHAR
 
typedef int yy_state_type
 

Enumerations

enum  lib_cmds {
  LP_NONE , LP_INFO , LP_CATEGORY , LP_URL ,
  LP_VERSION
}
 

Functions

void yyrestart YY_PROTO ((FILE *input_file))
 
void yy_switch_to_buffer YY_PROTO ((YY_BUFFER_STATE new_buffer))
 
void yy_load_buffer_state YY_PROTO ((void))
 
YY_BUFFER_STATE yy_create_buffer YY_PROTO ((FILE *file, int size))
 
void yy_delete_buffer YY_PROTO ((YY_BUFFER_STATE b))
 
void yy_init_buffer YY_PROTO ((YY_BUFFER_STATE b, FILE *file))
 
YY_BUFFER_STATE yy_scan_buffer YY_PROTO ((char *base, yy_size_t size))
 
YY_BUFFER_STATE yy_scan_string YY_PROTO ((yyconst char *yy_str))
 
YY_BUFFER_STATE yy_scan_bytes YY_PROTO ((yyconst char *bytes, int len))
 
static void *yy_flex_alloc YY_PROTO ((yy_size_t))
 
static void *yy_flex_realloc YY_PROTO ((void *, yy_size_t))
 
static void yy_flex_free YY_PROTO ((void *))
 
static yy_state_type yy_try_NUL_trans YY_PROTO ((yy_state_type current_state))
 
static void yy_fatal_error YY_PROTO ((yyconst char msg[]))
 
int libread (FILE *f, char *buf, int max_size)
 
int current_pos (int i)
 
void print_version (lp_modes mode, char *p)
 
void copy_string (lp_modes mode)
 
void make_version (char *p, int what)
 
int yylpwrap ()
 
static void yyunput YY_PROTO ((int c, char *buf_ptr))
 
 if (yy_init)
 
 while (1)
 
static int yy_get_next_buffer ()
 
static yy_state_type yy_get_previous_state ()
 
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state)
 
static void yyunput (int c, REGISTER char *yy_bp)
 
static int yyinput ()
 
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)
 
int isatty YY_PROTO ((int))
 
void yy_init_buffer (YY_BUFFER_STATE b, FILE *file)
 
void yy_flush_buffer (YY_BUFFER_STATE b)
 
YY_BUFFER_STATE yy_scan_buffer (char *base, yy_size_t size)
 
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str)
 
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes, int len)
 
static void yy_fatal_error (yyconst char msg[])
 
static void * yy_flex_alloc (yy_size_t size)
 
static void * yy_flex_realloc (void *ptr, yy_size_t size)
 
static void yy_flex_free (void *ptr)
 
void reinit_yylp ()
 
void print_init ()
 

Variables

EXTERN_VAR int yyleng
 
EXTERN_VAR FILE * yyin = (FILE *) 0
 
EXTERN_VAR FILE * yyout = (FILE *) 0
 
STATIC_VAR YY_BUFFER_STATE yy_current_buffer = 0
 
STATIC_VAR char yy_hold_char
 
STATIC_VAR int yy_n_chars
 
STATIC_VAR char * yy_c_buf_p = (char *) 0
 
STATIC_VAR int yy_init = 1
 
STATIC_VAR int yy_start = 0
 
STATIC_VAR int yy_did_buffer_switch_on_eof
 
EXTERN_VAR char * yytext
 
static yyconst short int yy_accept [485]
 
static yyconst int yy_ec [256]
 
static yyconst int yy_meta [53]
 
static yyconst short int yy_base [533]
 
static yyconst short int yy_def [533]
 
static yyconst short int yy_nxt [2253]
 
static yyconst short int yy_chk [2253]
 
STATIC_VAR yy_state_type yy_last_accepting_state
 
STATIC_VAR char * yy_last_accepting_cpos
 
STATIC_VAR int yy_more_flag = 0
 
STATIC_VAR int yy_more_len = 0
 
VAR int brace1 = 0
 
VAR int brace2 = 0
 
VAR int brace3 = 0
 
VAR int quote = 0
 
VAR int offset = 0
 
VAR BOOLEAN p_static = FALSE
 
VAR int old_state = 0
 
VAR lib_cmds last_cmd = LP_NONE
 
VAR char libnamebuf [1024]
 
VAR char * text_buffer =NULL
 
VAR long string_start
 
VAR char * yylp_buffer_start
 
VAR int yylplineno = 1
 
VAR int lpverbose = 0
 
VAR int check = 0
 
VAR int texinfo_out = 0
 
VAR int found_info =0
 
VAR int found_cat =0
 
VAR int found_version =0
 
VAR int found_oldhelp = 0
 
VAR int found_proc_in_proc = 0
 
const char * yylp_errlist []
 
VAR int yylp_errno = 0
 
VAR idhdl h0
 
VAR idhdl h_top
 
EXTERN_VAR libstackv library_stack
 
STATIC_VAR unsigned long help_chksum
 
 YY_DECL
 
REGISTER char * yy_cp
 
REGISTER char * yy_bp
 
REGISTER int yy_act
 

Data Structure Documentation

◆ yy_buffer_state

struct yy_buffer_state

Definition at line 164 of file libparse.cc.

Data Fields
int yy_at_bol
char * yy_buf_pos
yy_size_t yy_buf_size
int yy_buffer_status
char * yy_ch_buf
int yy_fill_buffer
FILE * yy_input_file
int yy_is_interactive
int yy_is_our_buffer
int yy_n_chars

Macro Definition Documentation

◆ BEGIN

#define BEGIN   yy_start = 1 + 2 *

Definition at line 99 of file libparse.cc.

◆ category

#define category   16

Definition at line 1258 of file libparse.cc.

◆ comment

#define comment   14

Definition at line 1254 of file libparse.cc.

◆ ECHO

#define ECHO   (void) fwrite( yytext, yyleng, 1, yyout )

Definition at line 1343 of file libparse.cc.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 124 of file libparse.cc.

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 125 of file libparse.cc.

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 126 of file libparse.cc.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 25 of file libparse.cc.

◆ header

#define header   1

Definition at line 1228 of file libparse.cc.

◆ help

#define help   2

Definition at line 1230 of file libparse.cc.

◆ IncrCheckSum

#define IncrCheckSum ( c)
Value:
do \
{ \
ROTATE_RIGHT(help_chksum); \
help_chksum += c; \
help_chksum &= 0xffff; \
} \
while(0)
STATIC_VAR unsigned long help_chksum
Definition libparse.cc:1153

Definition at line 1191 of file libparse.cc.

1191#define IncrCheckSum(c) \
1192do \
1193{ \
1194 ROTATE_RIGHT(help_chksum); \
1195 help_chksum += c; \
1196 help_chksum &= 0xffff; \
1197} \
1198while(0)

◆ info

#define info   15

Definition at line 1256 of file libparse.cc.

◆ INITIAL

#define INITIAL   0

Definition at line 1051 of file libparse.cc.

◆ libcmd

#define libcmd   3

Definition at line 1232 of file libparse.cc.

◆ libcmd2

#define libcmd2   4

Definition at line 1234 of file libparse.cc.

◆ pbody

#define pbody   9

Definition at line 1244 of file libparse.cc.

◆ pdef

#define pdef   5

Definition at line 1236 of file libparse.cc.

◆ pestr

#define pestr   12

Definition at line 1250 of file libparse.cc.

◆ pexample

#define pexample   11

Definition at line 1248 of file libparse.cc.

◆ phead

#define phead   6

Definition at line 1238 of file libparse.cc.

◆ phelp

#define phelp   8

Definition at line 1242 of file libparse.cc.

◆ pi

#define pi   IDPROC(h0)

Definition at line 1145 of file libparse.cc.

◆ poldhelp

#define poldhelp   7

Definition at line 1240 of file libparse.cc.

◆ pstr

#define pstr   10

Definition at line 1246 of file libparse.cc.

◆ REJECT

#define REJECT   reject_used_but_not_detected

Definition at line 1043 of file libparse.cc.

◆ ROTATE_RIGHT

#define ROTATE_RIGHT ( c)
Value:
if ((c) & 01) (c) = ((c) >>1) + 0x8000; else (c) >>= 1;

Definition at line 1190 of file libparse.cc.

◆ SET_BODY_END

#define SET_BODY_END ( mode,
pi,
p )
Value:
if ( mode == LOAD_LIB) \
{ \
pi->data.s.body_end = p-1; \
pi->data.s.proc_end = p-1; \
}
int p
Definition cfModGcd.cc:4086
#define pi
Definition libparse.cc:1145
@ LOAD_LIB
Definition libparse.h:10

Definition at line 1169 of file libparse.cc.

1169#define SET_BODY_END(mode, pi, p) \
1170 if ( mode == LOAD_LIB) \
1171 { \
1172 pi->data.s.body_end = p-1; \
1173 pi->data.s.proc_end = p-1; \
1174 }

◆ SET_BODY_START

#define SET_BODY_START ( mode,
pi,
l,
p )
Value:
if ( mode == LOAD_LIB) \
{ \
pi->data.s.body_lineno = l; \
pi->data.s.body_start = p; \
}
int l
Definition cfEzgcd.cc:100

Definition at line 1163 of file libparse.cc.

1163#define SET_BODY_START(mode, pi, l, p) \
1164 if ( mode == LOAD_LIB) \
1165 { \
1166 pi->data.s.body_lineno = l; \
1167 pi->data.s.body_start = p; \
1168 }

◆ SET_DEF_END

#define SET_DEF_END ( mode,
pi,
p )
Value:
if ( mode == LOAD_LIB) pi->data.s.def_end = p;

Definition at line 1155 of file libparse.cc.

1155#define SET_DEF_END(mode, pi, p) \
1156 if ( mode == LOAD_LIB) pi->data.s.def_end = p;

◆ SET_EXAMPLE_START

#define SET_EXAMPLE_START ( mode,
pi,
l,
p )
Value:
if ( mode == LOAD_LIB) \
{ \
pi->data.s.example_lineno = l; \
pi->data.s.example_start = p; \
}

Definition at line 1176 of file libparse.cc.

1176#define SET_EXAMPLE_START(mode, pi, l, p) \
1177 if ( mode == LOAD_LIB) \
1178 { \
1179 pi->data.s.example_lineno = l; \
1180 pi->data.s.example_start = p; \
1181 }

◆ SET_HELP_END

#define SET_HELP_END ( mode,
pi,
p )
Value:
if ( mode == LOAD_LIB) {pi->data.s.help_end = p; \
pi->data.s.help_chksum = help_chksum;}

Definition at line 1159 of file libparse.cc.

1159#define SET_HELP_END(mode, pi, p) \
1160 if ( mode == LOAD_LIB) {pi->data.s.help_end = p; \
1161 pi->data.s.help_chksum = help_chksum;}

◆ SET_HELP_START

#define SET_HELP_START ( mode,
pi,
p )
Value:
if ( mode == LOAD_LIB) {pi->data.s.help_start = p; help_chksum = 0;}

Definition at line 1157 of file libparse.cc.

1157#define SET_HELP_START(mode, pi, p) \
1158 if ( mode == LOAD_LIB) {pi->data.s.help_start = p; help_chksum = 0;}

◆ SET_PROC_END

#define SET_PROC_END ( mode,
pi,
p )
Value:
if ( mode == LOAD_LIB) \
{ \
pi->data.s.proc_end = p-1; \
if(pi->data.s.body_end==0) \
pi->data.s.body_end = p-1; \
}

Definition at line 1182 of file libparse.cc.

1182#define SET_PROC_END(mode, pi, p) \
1183 if ( mode == LOAD_LIB) \
1184 { \
1185 pi->data.s.proc_end = p-1; \
1186 if(pi->data.s.body_end==0) \
1187 pi->data.s.body_end = p-1; \
1188 }

◆ string

#define string   13

Definition at line 1252 of file libparse.cc.

◆ unput

#define unput ( c)
Value:
#define yytext_ptr
Definition libparse.cc:288
static void yyunput(int c, REGISTER char *yy_bp)
Definition libparse.cc:2795

Definition at line 155 of file libparse.cc.

◆ url

#define url   17

Definition at line 1260 of file libparse.cc.

◆ version

#define version   18

Definition at line 1262 of file libparse.cc.

◆ YY_AT_BOL

#define YY_AT_BOL ( )
Value:
(yy_current_buffer->yy_at_bol)
STATIC_VAR YY_BUFFER_STATE yy_current_buffer
Definition libparse.cc:221

Definition at line 282 of file libparse.cc.

◆ YY_BREAK

#define YY_BREAK   break;

Definition at line 1402 of file libparse.cc.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Definition at line 117 of file libparse.cc.

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

Definition at line 218 of file libparse.cc.

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 206 of file libparse.cc.

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 207 of file libparse.cc.

◆ yy_create_buffer

#define yy_create_buffer   yylp_create_buffer

Definition at line 1 of file libparse.cc.

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER   yy_current_buffer

Definition at line 227 of file libparse.cc.

◆ YY_DECL

#define YY_DECL
Value:
int yylex(const char *newlib, const char *libfile, \
lib_style_types *lib_style, \
idhdl pl, BOOLEAN autoexport, lp_modes mode)
int BOOLEAN
Definition auxiliary.h:88
#define yylex
Definition libparse.cc:13
lib_style_types
Definition libparse.h:9
lp_modes
Definition libparse.h:10
idrec * idhdl
Definition ring.h:22

Definition at line 1201 of file libparse.cc.

1201#define YY_DECL int yylex(const char *newlib, const char *libfile, \
1202 lib_style_types *lib_style, \
1203 idhdl pl, BOOLEAN autoexport, lp_modes mode)

◆ yy_delete_buffer

#define yy_delete_buffer   yylp_delete_buffer

Definition at line 2 of file libparse.cc.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
yyleng = (int) (yy_cp - yytext_ptr); \
*yy_cp = '\0'; \
#define yyleng
Definition libparse.cc:12
REGISTER char * yy_bp
Definition libparse.cc:1414
REGISTER char * yy_cp
Definition libparse.cc:1414
STATIC_VAR char yy_hold_char
Definition libparse.cc:231
STATIC_VAR char * yy_c_buf_p
Definition libparse.cc:239
STATIC_VAR int yy_more_len
Definition libparse.cc:1045

Definition at line 298 of file libparse.cc.

298#define YY_DO_BEFORE_ACTION \
299 yytext_ptr = yy_bp; \
300 yytext_ptr -= yy_more_len; \
301 yyleng = (int) (yy_cp - yytext_ptr); \
302 yy_hold_char = *yy_cp; \
303 *yy_cp = '\0'; \
304 yy_c_buf_p = yy_cp;

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   97

Definition at line 307 of file libparse.cc.

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 114 of file libparse.cc.

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

Definition at line 3231 of file libparse.cc.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR ( msg)
Value:
static void yy_fatal_error(yyconst char msg[])
Definition libparse.cc:3235

Definition at line 1383 of file libparse.cc.

◆ yy_flex_debug

#define yy_flex_debug   yylp_flex_debug

Definition at line 6 of file libparse.cc.

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 26 of file libparse.cc.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   5

Definition at line 27 of file libparse.cc.

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   yy_flush_buffer( yy_current_buffer )

Definition at line 256 of file libparse.cc.

◆ yy_flush_buffer

#define yy_flush_buffer   yylp_flush_buffer

Definition at line 8 of file libparse.cc.

◆ yy_init_buffer

#define yy_init_buffer   yylp_init_buffer

Definition at line 7 of file libparse.cc.

◆ YY_INPUT

#define YY_INPUT ( buf,
result,
max_size )
Value:
if ( ((result = libread( (yyin), (char *) buf, max_size )) < 0 ) \
&& ferror( yyin ) ) \
YY_FATAL_ERROR( "read in flex scanner failed" );
return result
int libread(FILE *f, char *buf, int max_size)
Definition libparse.cc:3351
#define yyin
Definition libparse.cc:11
int status int void * buf
Definition si_signals.h:69

Definition at line 1205 of file libparse.cc.

1205#define YY_INPUT(buf,result,max_size) \
1206 if ( ((result = libread( (yyin), (char *) buf, max_size )) < 0 ) \
1207 && ferror( yyin ) ) \
1208 YY_FATAL_ERROR( "read in flex scanner failed" );

◆ yy_load_buffer_state

void yy_load_buffer_state ( void)
Value:
yylp_load_buffer_state

Definition at line 2958 of file libparse.cc.

2958void yy_load_buffer_state( void )
2959#else
2961#endif
2962 {
2963 yy_n_chars = yy_current_buffer->yy_n_chars;
2964 yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
2965 yyin = yy_current_buffer->yy_input_file;
2967 }
#define yy_load_buffer_state
Definition libparse.cc:2958
STATIC_VAR int yy_n_chars
Definition libparse.cc:233

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   yy_more_len

Definition at line 1047 of file libparse.cc.

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 266 of file libparse.cc.

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart( yyin )

Definition at line 112 of file libparse.cc.

◆ YY_NO_POP_STATE

#define YY_NO_POP_STATE   1

Definition at line 1313 of file libparse.cc.

◆ YY_NO_PUSH_STATE

#define YY_NO_PUSH_STATE   1

Definition at line 1312 of file libparse.cc.

◆ YY_NO_TOP_STATE

#define YY_NO_TOP_STATE   1

Definition at line 1314 of file libparse.cc.

◆ YY_NULL

#define YY_NULL   0

Definition at line 86 of file libparse.cc.

◆ YY_NUM_RULES

#define YY_NUM_RULES   96

Definition at line 306 of file libparse.cc.

◆ YY_PROTO

#define YY_PROTO ( proto)
Value:
proto

Definition at line 80 of file libparse.cc.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 1334 of file libparse.cc.

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 1048 of file libparse.cc.

◆ YY_RULE_SETUP

#define YY_RULE_SETUP
Value:
if ( yyleng > 0 ) \
yy_current_buffer->yy_at_bol = \
(yytext[yyleng - 1] == '\n'); \
#define YY_USER_ACTION
Definition libparse.cc:1397
#define yytext
Definition libparse.cc:16

Definition at line 1405 of file libparse.cc.

1405#define YY_RULE_SETUP \
1406 if ( yyleng > 0 ) \
1407 yy_current_buffer->yy_at_bol = \
1408 (yytext[yyleng - 1] == '\n'); \
1409 YY_USER_ACTION

◆ YY_SC_TO_UI

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

Definition at line 93 of file libparse.cc.

◆ yy_scan_buffer

#define yy_scan_buffer   yylp_scan_buffer

Definition at line 3 of file libparse.cc.

◆ yy_scan_bytes

#define yy_scan_bytes   yylp_scan_bytes

Definition at line 5 of file libparse.cc.

◆ yy_scan_string

#define yy_scan_string   yylp_scan_string

Definition at line 4 of file libparse.cc.

◆ yy_set_bol

#define yy_set_bol ( at_bol)
Value:
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer->yy_at_bol = at_bol; \
}
#define yy_create_buffer
Definition libparse.cc:1
#define YY_BUF_SIZE
Definition libparse.cc:117

Definition at line 275 of file libparse.cc.

275#define yy_set_bol(at_bol) \
276 { \
277 if ( ! yy_current_buffer ) \
278 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
279 yy_current_buffer->yy_at_bol = at_bol; \
280 }

◆ yy_set_interactive

#define yy_set_interactive ( is_interactive)
Value:
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer->yy_is_interactive = is_interactive; \
}

Definition at line 268 of file libparse.cc.

268#define yy_set_interactive(is_interactive) \
269 { \
270 if ( ! yy_current_buffer ) \
271 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
272 yy_current_buffer->yy_is_interactive = is_interactive; \
273 }

◆ YY_SKIP_YYWRAP

#define YY_SKIP_YYWRAP

Definition at line 1079 of file libparse.cc.

◆ YY_START

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

Definition at line 105 of file libparse.cc.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 1378 of file libparse.cc.

◆ YY_STATE_EOF

#define YY_STATE_EOF ( state)
Value:
(YY_END_OF_BUFFER + state + 1)
#define YY_END_OF_BUFFER
Definition libparse.cc:307

Definition at line 109 of file libparse.cc.

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   yylp_switch_to_buffer

Definition at line 10 of file libparse.cc.

◆ YY_USE_CONST

#define YY_USE_CONST

Definition at line 51 of file libparse.cc.

◆ YY_USE_PROTOS

#define YY_USE_PROTOS

Definition at line 48 of file libparse.cc.

◆ YY_USER_ACTION

#define YY_USER_ACTION

Definition at line 1397 of file libparse.cc.

◆ YY_USER_INIT

#define YY_USER_INIT
Value:
{ \
BEGIN(header); \
yylplineno = 1; \
yylp_errno = 0; \
*lib_style = OLD_LIBSTYLE; \
strcpy(libnamebuf,"(**unknown version**)"); \
}
EXTERN_VAR int yylplineno
Definition iplib.cc:65
EXTERN_VAR int yylp_errno
Definition iplib.cc:64
#define header
Definition libparse.cc:1228
VAR char libnamebuf[1024]
Definition libparse.cc:1098
@ OLD_LIBSTYLE
Definition libparse.h:9

Definition at line 1210 of file libparse.cc.

1210#define YY_USER_INIT { \
1211 BEGIN(header); \
1212 yylplineno = 1; \
1213 yylp_errno = 0; \
1214 *lib_style = OLD_LIBSTYLE; \
1215 strcpy(libnamebuf,"(**unknown version**)"); \
1216 }

◆ yyconst

#define yyconst   const

Definition at line 73 of file libparse.cc.

◆ yyin

VAR FILE * yyin   yylpin

Definition at line 11 of file libparse.cc.

◆ yyleng

EXTERN_VAR int yyleng   yylpleng

Definition at line 12 of file libparse.cc.

◆ yyless [1/2]

#define yyless ( n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
YY_RESTORE_YY_MORE_OFFSET \
yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define YY_MORE_ADJ
Definition libparse.cc:1047
#define YY_DO_BEFORE_ACTION
Definition libparse.cc:298

Definition at line 144 of file libparse.cc.

144#define yyless(n) \
145 do \
146 { \
147 /* Undo effects of setting up yytext. */ \
148 *yy_cp = yy_hold_char; \
149 YY_RESTORE_YY_MORE_OFFSET \
150 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
151 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
152 } \
153 while ( 0 )

◆ yyless [2/2]

#define yyless ( n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
yy_c_buf_p = yytext + n; \
*yy_c_buf_p = '\0'; \
yyleng = n; \
} \
while ( 0 )

Definition at line 144 of file libparse.cc.

144#define yyless(n) \
145 do \
146 { \
147 /* Undo effects of setting up yytext. */ \
148 *yy_cp = yy_hold_char; \
149 YY_RESTORE_YY_MORE_OFFSET \
150 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
151 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
152 } \
153 while ( 0 )

◆ yylex

int yylex   yylplex

Definition at line 13 of file libparse.cc.

◆ yymore

#define yymore ( )
Value:
STATIC_VAR int yy_more_flag
Definition libparse.cc:1044

Definition at line 1046 of file libparse.cc.

◆ yyout

VAR FILE * yyout   yylpout

Definition at line 14 of file libparse.cc.

◆ yyrestart

#define yyrestart   yylprestart

Definition at line 15 of file libparse.cc.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 106 of file libparse.cc.

◆ yyterminate

#define yyterminate ( )
Value:
return YY_NULL
#define YY_NULL
Definition libparse.cc:86

Definition at line 1373 of file libparse.cc.

◆ yytext

EXTERN_VAR char * yytext   yylptext

Definition at line 16 of file libparse.cc.

◆ yytext_ptr

#define yytext_ptr   yytext

Definition at line 288 of file libparse.cc.

◆ yywrap

#define yywrap   yylpwrap

Definition at line 17 of file libparse.cc.

Typedef Documentation

◆ YY_CHAR

typedef unsigned char YY_CHAR

Definition at line 284 of file libparse.cc.

◆ yy_size_t

typedef unsigned int yy_size_t

Definition at line 161 of file libparse.cc.

◆ yy_state_type

typedef int yy_state_type

Definition at line 286 of file libparse.cc.

Enumeration Type Documentation

◆ lib_cmds

enum lib_cmds
Enumerator
LP_NONE 
LP_INFO 
LP_CATEGORY 
LP_URL 
LP_VERSION 

Definition at line 1081 of file libparse.cc.

lib_cmds
Definition libparse.cc:1081
@ LP_NONE
Definition libparse.cc:1081
@ LP_CATEGORY
Definition libparse.cc:1081
@ LP_URL
Definition libparse.cc:1081
@ LP_INFO
Definition libparse.cc:1081
@ LP_VERSION
Definition libparse.cc:1081

Function Documentation

◆ copy_string()

void copy_string ( lp_modes mode)

Definition at line 3406 of file libparse.cc.

3407{
3408#ifdef STANDALONE_PARSER
3409 if ((texinfo_out
3410 && (last_cmd == LP_INFO || last_cmd == LP_CATEGORY || last_cmd == LP_URL))
3411 || (category_out && last_cmd == LP_CATEGORY)
3412)
3413 {
3414 long current_location = ftell(yylpin), i = string_start, quote = 0;
3415 char c;
3416 if (texinfo_out)
3417 {
3418 if (last_cmd == LP_INFO)
3419 {
3420 printf("$info = <<EOT;\n");
3421 }
3422 else if (last_cmd == LP_URL)
3423 {
3424 printf("$url = <<EOT;\n");
3425 }
3426 else
3427 {
3428 printf("$category = <<EOT;\n");
3429 }
3430 }
3431 fseek (yylpin, i, SEEK_SET);
3432 while (i< current_location)
3433 {
3434 c = fgetc(yylpin);
3435 if (c == '\\')
3436 {
3437 quote = (! quote);
3438 }
3439 else if (c == '"')
3440 {
3441 if (! quote) break;
3442 }
3443 else
3444 quote = 0;
3445 if (c == '@' || c == '$') putchar('\\');
3446 if (c != '\r') putchar(c);
3447 i++;
3448 }
3449 if (category_out) exit(0);
3450 fseek (yylpin, current_location, SEEK_SET);
3451 printf("\nEOT\n");
3452 }
3453#else
3454 if((last_cmd == LP_INFO)&&(mode == GET_INFO))
3455 {
3456 int i, offset=0;
3457 long current_location = ftell(yylpin);
3458 int len = (int)(current_pos(0) - string_start);
3459 fseek(yylpin, string_start, SEEK_SET);
3461 text_buffer = (char *)omAlloc(len+2);
3463 myfread(text_buffer, len, 1, yylpin);
3464 fseek(yylpin, current_location, SEEK_SET);
3465 text_buffer[len]='\0';
3466 offset=0;
3467 for(i=0;i<=len; i++)
3468 {
3469 if(text_buffer[i]=='\\' &&
3470 (text_buffer[i+1]=='\"' || text_buffer[i+1]=='{' ||
3471 text_buffer[i+1]=='}' || text_buffer[i+1]=='\\'))
3472 {
3473 i++;
3474 offset++;
3475 }
3477 }
3478 }
3479#endif /* STANDALONE_PARSER */
3480}
void * ADDRESS
Definition auxiliary.h:120
int i
Definition cfEzgcd.cc:132
size_t myfread(void *ptr, size_t size, size_t nmemb, FILE *stream)
Definition feFopen.cc:195
STATIC_VAR int offset
Definition janet.cc:29
int current_pos(int i)
Definition libparse.cc:3346
VAR char * text_buffer
Definition libparse.cc:1099
VAR int quote
Definition libparse.cc:1092
VAR lib_cmds last_cmd
Definition libparse.cc:1096
VAR int texinfo_out
Definition libparse.cc:1107
VAR long string_start
Definition libparse.cc:1100
@ GET_INFO
Definition libparse.h:10
#define SEEK_SET
Definition mod2.h:115
#define omAlloc(size)
#define omFree(addr)
#define NULL
Definition omList.c:12
#define omMarkAsStaticAddr(A)
Definition xalloc.h:245

◆ current_pos()

int current_pos ( int i)

Definition at line 3346 of file libparse.cc.

3347{
3348 return(i+offset+(int)(yytext-yylp_buffer_start));
3349}
VAR char * yylp_buffer_start
Definition libparse.cc:1102

◆ if()

if ( yy_init )

Definition at line 1420 of file libparse.cc.

1421 {
1422 yy_init = 0;
1423
1424#ifdef YY_USER_INIT
1426#endif
1427
1428 if ( ! yy_start )
1429 yy_start = 1; /* first start state */
1430
1431 if ( ! yyin )
1432 yyin = stdin;
1433
1434 if ( ! yyout )
1435 yyout = stdout;
1436
1437 if ( ! yy_current_buffer )
1440
1442 }
#define yyout
Definition libparse.cc:14
#define YY_USER_INIT
Definition libparse.cc:1210
STATIC_VAR int yy_start
Definition libparse.cc:241
STATIC_VAR int yy_init
Definition libparse.cc:240

◆ libread()

int libread ( FILE * f,
char * buf,
int max_size )

Definition at line 3351 of file libparse.cc.

3352{ int rc;
3353
3354 offset = ftell(f);
3355 rc = myfread( buf, 1, max_size, f );
3356 #if YYLPDEBUG >2
3357 printf("fread: %d of %d\n", rc, max_size);
3358 #endif
3360 return rc;
3361}
FILE * f
Definition checklibs.c:9

◆ make_version()

void make_version ( char * p,
int what )

Definition at line 3386 of file libparse.cc.

3387{
3388 char ver[11];
3389 char date[17];
3390 ver[0]='?'; ver[1]='.'; ver[2]='?'; ver[3]='\0';
3391 date[0]='?'; date[1]='\0';
3392 if(what) sscanf(p,"%*[^=]= %*s %*s %10s %16s",ver,date);
3393 else sscanf(p,"// %*s %*s %10s %16s",ver,date);
3394 strcpy(libnamebuf,"(");
3395 strcat(libnamebuf,ver);
3396 strcat(libnamebuf,",");
3397 strcat(libnamebuf,date);
3398 strcat(libnamebuf,")");
3399 if(what && strcmp(libnamebuf, "(?.?,?)")==0)
3400 {
3401 sscanf(p,"%*[^\"]\"%[^\"]\"",libnamebuf);
3402 }
3403 //printf("ID=(%d)%s; \n", what, p);
3404}

◆ print_init()

void print_init ( )

Definition at line 3482 of file libparse.cc.

3483{
3484 printf("Init=%d\n", yy_init);
3485}

◆ print_version()

void print_version ( lp_modes mode,
char * p )

Definition at line 3487 of file libparse.cc.

3488{
3489#ifdef STANDALONE_PARSER
3490 //printf("loading %s%s", p, libnamebuf);
3491#else
3492 if ( mode == LOAD_LIB )
3493 {
3494 if (BVERBOSE(V_LOAD_LIB) && p!=NULL ) Print(" %s...", p);
3495 //Warn( "loading %s%s", p, libnamebuf);
3496 }
3497#endif
3498}
#define Print
Definition emacs.cc:80
#define BVERBOSE(a)
Definition options.h:35
#define V_LOAD_LIB
Definition options.h:47

◆ reinit_yylp()

void reinit_yylp ( )

Definition at line 3376 of file libparse.cc.

3377{
3378 brace1 = 0;
3379 brace2 = 0;
3380 brace3 = 0;
3381 quote = 0;
3382 yy_init=1;
3384}
VAR int brace1
Definition libparse.cc:1089
VAR int brace2
Definition libparse.cc:1090
#define YY_CURRENT_BUFFER
Definition libparse.cc:227
VAR int brace3
Definition libparse.cc:1091
#define yy_delete_buffer
Definition libparse.cc:2

◆ while()

while ( 1 )

Definition at line 1444 of file libparse.cc.

1445 {
1446 yy_more_len = 0;
1447 if ( yy_more_flag )
1448 {
1450 yy_more_flag = 0;
1451 }
1452 yy_cp = yy_c_buf_p;
1453
1454 /* Support of yytext. */
1456
1457 /* yy_bp points to the position in yy_ch_buf of the start of
1458 * the current run.
1459 */
1460 yy_bp = yy_cp;
1461
1462 yy_current_state = yy_start;
1463 yy_current_state += YY_AT_BOL();
1464yy_match:
1465 do
1466 {
1468 if ( yy_accept[yy_current_state] )
1469 {
1470 yy_last_accepting_state = yy_current_state;
1472 }
1473 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1474 {
1475 yy_current_state = (int) yy_def[yy_current_state];
1476 if ( yy_current_state >= 485 )
1477 yy_c = yy_meta[(unsigned int) yy_c];
1478 }
1479 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1480 ++yy_cp;
1481 }
1482 while ( yy_current_state != 484 );
1484 yy_current_state = yy_last_accepting_state;
1485
1486yy_find_action:
1487 yy_act = yy_accept[yy_current_state];
1488
1490
1491
1492do_action: /* This label is used only to access EOF actions. */
1493
1494
1495 switch ( yy_act )
1496 { /* beginning of action switch */
1497 case 0: /* must back up */
1498 /* undo the effects of YY_DO_BEFORE_ACTION */
1501 yy_current_state = yy_last_accepting_state;
1502 goto yy_find_action;
1503
1504case 1:
1506#line 230 "libparse.l"
1507{ }
1508 YY_BREAK
1509case 2:
1511#line 231 "libparse.l"
1513 YY_BREAK
1514case 3:
1516#line 233 "libparse.l"
1517{
1519 }
1520 YY_BREAK
1521case 4:
1523#line 236 "libparse.l"
1524{
1526 }
1527 YY_BREAK
1528case 5:
1530#line 239 "libparse.l"
1531{
1532 if ( mode != GET_INFO )
1533 {
1534 #ifdef STANDALONE_PARSER
1535 if (texinfo_out)
1536 {
1537 char *c = yytext;
1538 printf("$url = \"");
1539 while ((*c != '\0') && (*c != '"')) c++;
1540 c++;
1541 while ((*c != '\0') && (*c != '"'))
1542 {
1543 if (*c != '\r') putchar(*c);
1544 c++;
1545 }
1546 printf("\";\n");
1547 }
1548 #endif
1549 }
1550 }
1551 YY_BREAK
1552case 6:
1554#line 260 "libparse.l"
1555{
1556 found_version++;
1557 if ( mode != GET_INFO )
1558 {
1560 #ifdef STANDALONE_PARSER
1561 if (texinfo_out)
1562 {
1563 char *c = libnamebuf;
1564 printf("$version = \"");
1565 while (*c != '\0')
1566 {
1567 if (*c == '$' || *c == '@') putchar('\\');
1568 if (*c != '\r') putchar(*c);
1569 if (*c == '\\')
1570 {
1571 c++;
1572 if (*c != '"') putchar('\\');
1573 }
1574 else
1575 c++;
1576 }
1577 printf("\";\n");
1578 }
1579 else if (!category_out)
1580 printf("Version:%s;\n", libnamebuf);
1581 #else
1585 #endif
1586 }
1587 }
1588 YY_BREAK
1589case 7:
1591#line 294 "libparse.l"
1592{ p_static=TRUE; }
1593 YY_BREAK
1594case 8:
1596#line 296 "libparse.l"
1597{
1598 char proc[256];
1599 BEGIN(pdef);
1601 proc[0]='\0';
1602 sscanf( yytext, "%*[^p]proc %s", proc);
1603 if(strlen(proc)<1) sscanf( yytext, "proc %s", proc);
1604 #if YYLPDEBUG > 1
1605 printf("Newlib:%s\n", newlib);
1606 #endif
1607 #ifdef STANDALONE_PARSER
1608 if ( pi != NULL )
1609 {
1610 printpi(pi);
1611 pi_clear(pi);
1612 }
1613 pi = (procinfo *)malloc(sizeof(procinfo));
1615 current_pos(0), p_static);
1616 #else /*STANDALONE_PARSER*/
1617 if( mode == LOAD_LIB)
1618 {
1619 h0 = enterid( proc, 0 /*myynest*/, PROC_CMD,
1620 &(IDPACKAGE(pl)->idroot), TRUE, !p_static);
1621 if (h0==NULL) return(1);
1622 if((!p_static) && autoexport)
1623 {
1624 package save=currPack;
1626 h_top = enterid( proc, 0 /*myynest*/, PROC_CMD,
1627 &(basePack->idroot), FALSE );
1628 currPack=save;
1629 if (h_top==NULL) return(1);
1630 }
1631 /* omCheckAddr(IDID(h0)); */
1632 if (h0!=NULL)
1633 {
1636 if ((!p_static) && (h_top != NULL) && autoexport)
1637 {
1640 IDPROC(h_top)->ref++;
1641 }
1642 IDPROC(h0)->pack=IDPACKAGE(pl);
1643 if (BVERBOSE(V_LOAD_PROC))
1644 Warn( " proc '%s' registered", proc );
1645 }
1646 #endif /*STANDALONE_PARSER*/
1647 SET_DEF_END(mode, pi, current_pos(yyleng+1));
1648 #if YYLPDEBUG
1649 if(lpverbose)
1650 {
1651 printf("// PROCEDURE '%s' status: %s, ", proc,
1652 p_static ? "local" : "global");
1653 printf("starting at line %d,%d: definition end: %d (%d).\n",
1654 yylplineno, current_pos(0), (int)pi->data.s.def_end, brace1);
1655 }
1656 #endif
1658 #ifndef STANDALONE_PARSER
1659 }
1660 #endif /*STANDALONE_PARSER*/
1661 }
1662 YY_BREAK
1663case 9:
1665#line 361 "libparse.l"
1666{
1667 BEGIN(pexample);
1669 #if YYLPDEBUG
1670 if(lpverbose)
1671 {
1672 printf("// EXAMPLE at line %d,%d (%d)\n", yylplineno,
1673 current_pos(0), brace1);
1674 }
1675 #endif
1676 }
1677 YY_BREAK
1678case 10:
1680#line 373 "libparse.l"
1681{ quote++;
1682 BEGIN(libcmd);
1683 }
1684 YY_BREAK
1685case 11:
1687#line 377 "libparse.l"
1688{ quote++; brace2++;
1689 BEGIN(libcmd2);
1690 }
1691 YY_BREAK
1692case 12:
1694#line 381 "libparse.l"
1695{
1696 make_version(yytext, 0);
1697 #if YYLPDEBUG > 1
1698 printf("+(id)HEAD:%s\n", yytext);
1699 #endif
1700 }
1701 YY_BREAK
1702case 13:
1704#line 387 "libparse.l"
1705{
1706 #if YYLPDEBUG
1707 printf("+(cmt)HEAD:%s\n", yytext);
1708 #endif
1709 }
1710 YY_BREAK
1711case 14:
1713#line 392 "libparse.l"
1714{
1715 #if YYLPDEBUG > 1
1716 printf("-HEAD:%s\n", yytext);
1717 #endif
1718 }
1719 YY_BREAK
1720case 15:
1722#line 397 "libparse.l"
1723{ yyless(0);
1724 BEGIN(INITIAL);
1725 yymore();
1726 }
1727 YY_BREAK
1728case 16:
1730#line 401 "libparse.l"
1731{
1732 yyless(0);
1733 *lib_style = NEW_LIBSTYLE;
1734 BEGIN(INITIAL);
1735 yymore();
1736 }
1737 YY_BREAK
1738case 17:
1740#line 408 "libparse.l"
1741{ quote++;
1742 BEGIN(libcmd);
1743 }
1744 YY_BREAK
1745case 18:
1747#line 411 "libparse.l"
1748{ quote++; brace2++;
1749 BEGIN(libcmd2);
1750 }
1751 YY_BREAK
1752case 19:
1754#line 414 "libparse.l"
1755{ yylplineno++; }
1756 YY_BREAK
1757case 20:
1759#line 415 "libparse.l"
1760{
1761 #if YYLPDEBUG > 1
1762 printf(" HEAD:%s\n", yytext);
1763 #endif
1764 yyless(0);
1765 BEGIN(help);
1766 }
1767 YY_BREAK
1768case 21:
1770#line 422 "libparse.l"
1771{
1772 #if YYLPDEBUG > 1
1773 printf(" HELP:%s\n", yytext);
1774 #endif
1775 BEGIN(INITIAL); }
1776 YY_BREAK
1777case 22:
1779#line 427 "libparse.l"
1780{
1781 #if YYLPDEBUG > 1
1782 printf(" HELP:%s\n", yytext);
1783 #endif
1784 BEGIN(INITIAL);
1785 }
1786 YY_BREAK
1787case 23:
1789#line 433 "libparse.l"
1790{
1791 yyless(0);
1792 *lib_style = NEW_LIBSTYLE;
1793 BEGIN(INITIAL);
1794 yymore();
1795 }
1796 YY_BREAK
1797case 24:
1799#line 439 "libparse.l"
1800{
1801 yyless(0);
1802 //printf("2) proc found.\n");
1803 BEGIN(INITIAL);
1804 yymore();
1805 }
1806 YY_BREAK
1807case 25:
1809#line 445 "libparse.l"
1810{ quote++;
1811 BEGIN(libcmd);
1812 }
1813 YY_BREAK
1814case 26:
1816#line 448 "libparse.l"
1817{ quote++; brace2++;
1818 BEGIN(libcmd2);
1819 }
1820 YY_BREAK
1821case 27:
1823#line 452 "libparse.l"
1824{ yylplineno++; }
1825 YY_BREAK
1826case 28:
1828#line 453 "libparse.l"
1829{
1830 #if YYLPDEBUG
1831 if(lpverbose>2) printf("--->%s<---\n", yytext);
1832 #endif
1833 }
1834 YY_BREAK
1835case 29:
1837#line 458 "libparse.l"
1838{
1839 found_oldhelp=1;
1840 #if YYLPDEBUG > 1
1841 printf("-HELP:%s\n", yytext);
1842 #endif
1843 }
1844 YY_BREAK
1845case 30:
1847#line 466 "libparse.l"
1848{ quote--;
1849 yytext[yyleng-1] = '\0';
1850 #ifndef STANDALONE_PARSER
1851 if ( mode == LOAD_LIB )
1852 {
1853 library_stack->push(newlib, yytext);
1854 }
1855 #endif /* STANDALONE_PARSER */
1856 #if YYLPDEBUG
1857 if(lpverbose>1) printf("LIB:'%s'\n", yytext);
1858 #endif
1859 BEGIN(INITIAL);
1860 }
1861 YY_BREAK
1862case 31:
1864#line 479 "libparse.l"
1865{ quote--; brace2--;
1866 yytext[yyleng-1] = '\0';
1867 #ifndef STANDALONE_PARSER
1868 if ( mode == LOAD_LIB )
1869 {
1870 library_stack->push(newlib, yytext);
1871 }
1872 #endif /* STANDALONE_PARSER */
1873 #if YYLPDEBUG
1874 if(lpverbose>1) printf("LIB:'%s'\n", yytext);
1875 #endif
1876 BEGIN(INITIAL);
1877 }
1878 YY_BREAK
1879case 32:
1881#line 493 "libparse.l"
1882{ }
1883 YY_BREAK
1884case 33:
1886#line 494 "libparse.l"
1887{
1888 brace2++;
1889 #if YYLPDEBUG > 1
1890 printf("%s", yytext);
1891 #endif
1892 }
1893 YY_BREAK
1894case 34:
1896#line 500 "libparse.l"
1897{
1898 brace2--;
1899 #if YYLPDEBUG > 1
1900 printf(">%s<\n", yytext);
1901 printf("{=%d, (=%d, [=%d\n", brace1, brace2, brace3);
1902 #endif
1903 if(brace2<=0)
1904 {
1905 #if YYLPDEBUG > 1
1906 printf("BEGIN(phead){=%d, (=%d, [=%d\n", brace1, brace2, brace3);
1907 #endif
1909 BEGIN(phead);
1910 }
1911 }
1912 YY_BREAK
1913case 35:
1915#line 515 "libparse.l"
1916{
1917 if(brace2>0)
1918 {
1919 #if YYLPDEBUG > 1
1920 printf("{=%d, (=%d, [=%d\n", brace1, brace2, brace3);
1921 #endif
1923 return(1);
1924 }
1925 else
1926 {
1927 brace1++; BEGIN(pbody);
1928 if(lpverbose)
1929 printf("// BODY at line %d,%d (%d)\n", yylplineno,
1930 current_pos(0), brace1);
1932 }
1933 }
1934 YY_BREAK
1935case 36:
1937#line 533 "libparse.l"
1938{ yylplineno++;
1939 if(brace2<=0)
1940 {
1941#if YYLPDEBUG > 1
1942 printf("BEGIN(phead-2){=%d, (=%d, [=%d\n", brace1, brace2, brace3);
1943#endif
1944 BEGIN(phead);
1945 }
1946 }
1947 YY_BREAK
1948case 37:
1950#line 542 "libparse.l"
1951{ }
1952 YY_BREAK
1953case 38:
1955#line 543 "libparse.l"
1957 YY_BREAK
1958case 39:
1960#line 544 "libparse.l"
1961{
1962 if(brace2<=0)
1963 {
1964 BEGIN(phead);
1965 yyless(0);
1966 }
1967 }
1968 YY_BREAK
1969case 40:
1971#line 552 "libparse.l"
1972{
1973 #if YYLPDEBUG
1974 if(lpverbose>2)printf("0-Len=%d;\n", yyleng);
1975 #endif
1976 if(check)
1977 {
1978 printf("Procedure %s has OLD-STYLE-HELP!\n",
1979 pi->procname);
1980 }
1981 SET_HELP_START(mode, pi, current_pos(0));
1982 BEGIN(poldhelp);
1983 yyless(0);
1984 }
1985 YY_BREAK
1986case 41:
1988#line 565 "libparse.l"
1989{
1990 #if YYLPDEBUG
1991 if(lpverbose>2)printf("1-Len=%d;\n", yyleng);
1992 #endif
1993 BEGIN(phelp);
1994 yyless(0);
1995 }
1996 YY_BREAK
1997case 42:
1999#line 572 "libparse.l"
2000{
2001 if(check && yyleng>2)
2002 {
2003 printf("Procedure %s has OLD-STYLE-HELP!\n",
2004 pi->procname);
2005 }
2006 #if YYLPDEBUG
2007 if(lpverbose>2 && yyleng>2)
2008 printf("2-Len=%d, %s;\n", yyleng, pi->procname);
2009 #endif
2010 SET_HELP_START(mode, pi, current_pos(0));
2011 BEGIN(poldhelp);
2012 yyless(0);
2013 }
2014 YY_BREAK
2015case 43:
2017#line 586 "libparse.l"
2018{ printf("[%s]", yytext); }
2019 YY_BREAK
2020case 44:
2022#line 588 "libparse.l"
2023{ }
2024 YY_BREAK
2025case 45:
2027#line 589 "libparse.l"
2028{
2029 SET_HELP_END(mode, pi, current_pos(0));
2030 brace1++; BEGIN(pbody);
2031 if(lpverbose)
2032 {
2033 printf("// HELP from %d to %d\n",
2034 (int)pi->data.s.help_start, (int)pi->data.s.help_end);
2035 printf("// BODY at line %d,%d (%d)\n", yylplineno,
2036 current_pos(0), brace1);
2037 }
2038#if YYLPDEBUG > 1
2039 printf("BEGIN(pbody){=%d, (=%d, [=%d\n", brace1, brace2, brace3);
2040#endif
2042#if YYLPDEBUG > 1
2043 printf("BODY at %d/%d", yylplineno, current_pos(0));
2044#endif
2045 }
2046 YY_BREAK
2047case 46:
2049#line 607 "libparse.l"
2050{ yylplineno++; }
2051 YY_BREAK
2052case 47:
2054#line 608 "libparse.l"
2055{ }
2056 YY_BREAK
2057case 48:
2059#line 610 "libparse.l"
2060{
2062 BEGIN(string);
2063 SET_HELP_START(mode, pi, current_pos(1));
2064 }
2065 YY_BREAK
2066case 49:
2068#line 615 "libparse.l"
2069{}
2070 YY_BREAK
2071case 50:
2073#line 616 "libparse.l"
2074{
2075 brace1++; BEGIN(pbody);
2076 if(lpverbose)
2077 {
2078 printf("// HELP from %d to %d\n",
2079 (int)pi->data.s.help_start, (int)pi->data.s.help_end);
2080 printf("// BODY at line %d,%d (%d)\n", yylplineno,
2081 current_pos(0), brace1);
2082 }
2083 #if YYLPDEBUG > 1
2084 printf("BEGIN(pbody){=%d, (=%d, [=%d\n", brace1, brace2, brace3);
2085 #endif
2087 #if YYLPDEBUG > 1
2088 printf("BODY at %d/%d", yylplineno, current_pos(0));
2089 #endif
2090 }
2091 YY_BREAK
2092case 51:
2094#line 633 "libparse.l"
2095{ yylplineno++;}
2096 YY_BREAK
2097case 52:
2099#line 635 "libparse.l"
2100{ }
2101 YY_BREAK
2102case 53:
2104#line 636 "libparse.l"
2105{ quote++; old_state = YYSTATE;
2106 BEGIN(string); /* printf("%s", yytext); */
2107 }
2108 YY_BREAK
2109case 54:
2111#line 640 "libparse.l"
2112{
2113 if(check) printf("*** found 2 proc whithin procedure '%s'.\n",
2114 pi->procname);
2115 yyless(yyleng-1);
2116 }
2117 YY_BREAK
2118case 55:
2120#line 645 "libparse.l"
2121{
2122 if(check) printf("*** found 1 proc whithin procedure '%s'.\n",
2123 pi->procname);
2124 yyless(yyleng-1);
2125 }
2126 YY_BREAK
2127case 56:
2129#line 650 "libparse.l"
2130{
2131 brace1++;
2132 #if YYLPDEBUG > 1
2133 printf("line: %d, (%d)%s\n", yylplineno, brace1, yytext);
2134 #endif
2135 }
2136 YY_BREAK
2137case 57:
2139#line 656 "libparse.l"
2140{
2141 #if YYLPDEBUG > 1
2142 printf("line: %d, (%d)%s\n",
2144 #endif
2145 brace1--;
2146 if(brace2>0)
2147 {
2149 return(1);
2150 }
2151 if(brace3>0)
2152 {
2154 return(1);
2155 }
2156 if(brace1<=0)
2157 {
2160 #if YYLPDEBUG > 1
2161 printf("-%d\n", current_pos(0));
2162 #endif
2163 BEGIN(INITIAL);
2164 }
2165 }
2166 YY_BREAK
2167case 58:
2169#line 682 "libparse.l"
2170{
2171 brace2++; /* printf("%s", yytext); */
2172 }
2173 YY_BREAK
2174case 59:
2176#line 685 "libparse.l"
2177{
2178 brace2--; /* printf("%s", yytext); */
2179 if(brace2<0) {
2181 return(1);
2182 }
2183 }
2184 YY_BREAK
2185case 60:
2187#line 692 "libparse.l"
2188{
2189 brace3++; /* printf("%s", yytext); */
2190 }
2191 YY_BREAK
2192case 61:
2194#line 695 "libparse.l"
2195{
2196 brace3--; /* printf("%s", yytext); */
2197 if(brace3<0) {
2199 return(1);
2200 }
2201 }
2202 YY_BREAK
2203case 62:
2205#line 702 "libparse.l"
2206{ yylplineno++; }
2207 YY_BREAK
2208case 63:
2210#line 703 "libparse.l"
2211{ }
2212 YY_BREAK
2213case 64:
2215#line 705 "libparse.l"
2216{
2217 quote++; BEGIN(string);
2218 found_info++;
2220 *lib_style = NEW_LIBSTYLE;
2221 last_cmd = LP_INFO;
2222 }
2223 YY_BREAK
2224case 65:
2226#line 712 "libparse.l"
2227{ yylplineno++; }
2228 YY_BREAK
2229case 66:
2231#line 713 "libparse.l"
2232{ }
2233 YY_BREAK
2234case 67:
2236#line 715 "libparse.l"
2237{
2238 quote++; BEGIN(string);
2239 found_cat++;
2241 *lib_style = NEW_LIBSTYLE;
2243 }
2244 YY_BREAK
2245case 68:
2247#line 722 "libparse.l"
2248{ yylplineno++; }
2249 YY_BREAK
2250case 69:
2252#line 723 "libparse.l"
2253{ }
2254 YY_BREAK
2255case 70:
2257#line 726 "libparse.l"
2258{ quote--;
2259 copy_string(mode);
2260 last_cmd = LP_NONE;
2261 if(old_state==phelp)
2262 {
2263 SET_HELP_END(mode, pi, current_pos(0));
2264 }
2265 BEGIN(old_state); /* printf("%s", yytext); */
2266 }
2267 YY_BREAK
2268case 71:
2270#line 735 "libparse.l"
2271{ if (old_state == phelp) IncrCheckSum(*yytext);}
2272 YY_BREAK
2273case 72:
2275#line 736 "libparse.l"
2276{ yylplineno++; if (old_state == phelp) IncrCheckSum('\n');}
2277 YY_BREAK
2278case 73:
2280#line 737 "libparse.l"
2281{ if (old_state == phelp) IncrCheckSum(*yytext);}
2282 YY_BREAK
2283case 74:
2285#line 739 "libparse.l"
2286{ }
2287 YY_BREAK
2288case 75:
2290#line 740 "libparse.l"
2291{ quote++; old_state = YYSTATE;
2292 BEGIN(string); /* printf("%s", yytext); */
2293 }
2294 YY_BREAK
2295case 76:
2297#line 743 "libparse.l"
2298{
2299 brace1++; /* printf("(%d)%s", brace1, yytext); */
2300 }
2301 YY_BREAK
2302case 77:
2304#line 746 "libparse.l"
2305{
2306 brace1--; /* printf("(%d)%s", brace1, yytext); */
2307 if(brace1<=0) {
2308 if(brace2>0) { yylp_errno=YYLP_EX_BR2; return(1); }
2309 if(brace3>0) { yylp_errno=YYLP_EX_BR3; return(1); }
2310 BEGIN(INITIAL);
2312 }
2313 }
2314 YY_BREAK
2315case 78:
2317#line 755 "libparse.l"
2318{
2319 brace2++; /* printf("%s", yytext); */
2320 }
2321 YY_BREAK
2322case 79:
2324#line 758 "libparse.l"
2325{
2326 brace2--; /* printf("%s", yytext); */
2327 }
2328 YY_BREAK
2329case 80:
2331#line 761 "libparse.l"
2332{
2333 brace3++; /* printf("%s", yytext); */
2334 }
2335 YY_BREAK
2336case 81:
2338#line 764 "libparse.l"
2339{
2340 brace3--; /* printf("%s", yytext); */
2341 }
2342 YY_BREAK
2343case 82:
2345#line 767 "libparse.l"
2346{ yylplineno++; }
2347 YY_BREAK
2348case 83:
2350#line 768 "libparse.l"
2351{ }
2352 YY_BREAK
2353case 84:
2355#line 770 "libparse.l"
2356{ quote--;
2357 BEGIN(pexample); /* printf("%s", yytext); */
2358 }
2359 YY_BREAK
2360case 85:
2362#line 773 "libparse.l"
2363{ }
2364 YY_BREAK
2365case 86:
2367#line 774 "libparse.l"
2368{ }
2369 YY_BREAK
2370case 87:
2372#line 775 "libparse.l"
2373{ yylplineno++; }
2374 YY_BREAK
2375case 88:
2377#line 776 "libparse.l"
2378{ }
2379 YY_BREAK
2380case 89:
2382#line 778 "libparse.l"
2383{ BEGIN(old_state); }
2384 YY_BREAK
2385case 90:
2387#line 779 "libparse.l"
2388{ yylplineno++; }
2389 YY_BREAK
2390case 91:
2392#line 780 "libparse.l"
2393{ }
2394 YY_BREAK
2395case 92:
2397#line 782 "libparse.l"
2398{ yylplineno++; }
2399 YY_BREAK
2400case 93:
2402#line 783 "libparse.l"
2403{ }
2404 YY_BREAK
2405case 94:
2407#line 784 "libparse.l"
2408{ p_static = FALSE;
2409 #if YYLPDEBUG > 1
2410 printf("%s", yytext);
2411 #endif
2412 }
2413 YY_BREAK
2414case 95:
2416#line 789 "libparse.l"
2417{ p_static = FALSE;
2419 #ifdef STANDALONE_PARSER
2420 printf("[%d]", *yytext);
2421 #else
2425 #endif
2426 #if YYLPDEBUG > 1
2427 printf("[%s]", yytext);
2428 #endif
2429 return(1);
2430 }
2431 YY_BREAK
2432case 96:
2434#line 804 "libparse.l"
2435ECHO;
2436 YY_BREAK
2437case YY_STATE_EOF(INITIAL):
2438case YY_STATE_EOF(header):
2439case YY_STATE_EOF(help):
2440case YY_STATE_EOF(libcmd):
2441case YY_STATE_EOF(libcmd2):
2442case YY_STATE_EOF(pdef):
2443case YY_STATE_EOF(phead):
2445case YY_STATE_EOF(phelp):
2446case YY_STATE_EOF(pbody):
2447case YY_STATE_EOF(pstr):
2449case YY_STATE_EOF(pestr):
2450case YY_STATE_EOF(string):
2451case YY_STATE_EOF(comment):
2452case YY_STATE_EOF(info):
2454case YY_STATE_EOF(url):
2455case YY_STATE_EOF(version):
2456 yyterminate();
2457
2458 case YY_END_OF_BUFFER:
2459 {
2460 /* Amount of text matched not including the EOB char. */
2461 int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
2462
2463 /* Undo the effects of YY_DO_BEFORE_ACTION. */
2466
2467 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
2468 {
2469 /* We're scanning a new file or input source. It's
2470 * possible that this happened because the user
2471 * just pointed yyin at a new source and called
2472 * yylex(). If so, then we have to assure
2473 * consistency between yy_current_buffer and our
2474 * globals. Here is the right place to do so, because
2475 * this is the first action (other than possibly a
2476 * back-up) that will match for the new input source.
2477 */
2478 yy_n_chars = yy_current_buffer->yy_n_chars;
2479 yy_current_buffer->yy_input_file = yyin;
2480 yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
2481 }
2482
2483 /* Note that here we test for yy_c_buf_p "<=" to the position
2484 * of the first EOB in the buffer, since yy_c_buf_p will
2485 * already have been incremented past the NUL character
2486 * (since all states make transitions on EOB to the
2487 * end-of-buffer state). Contrast this with the test
2488 * in input().
2489 */
2491 { /* This was really a NUL. */
2492 yy_state_type yy_next_state;
2493
2494 yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
2495
2496 yy_current_state = yy_get_previous_state();
2497
2498 /* Okay, we're now positioned to make the NUL
2499 * transition. We couldn't have
2500 * yy_get_previous_state() go ahead and do it
2501 * for us because it doesn't know how to deal
2502 * with the possibility of jamming (and we don't
2503 * want to build jamming into it because then it
2504 * will run more slowly).
2505 */
2506
2507 yy_next_state = yy_try_NUL_trans( yy_current_state );
2508
2510
2511 if ( yy_next_state )
2512 {
2513 /* Consume the NUL. */
2514 yy_cp = ++yy_c_buf_p;
2515 yy_current_state = yy_next_state;
2516 goto yy_match;
2517 }
2518
2519 else
2520 {
2522 yy_current_state = yy_last_accepting_state;
2523 goto yy_find_action;
2524 }
2525 }
2526
2527 else switch ( yy_get_next_buffer() )
2528 {
2530 {
2532
2533 if ( yywrap() )
2534 {
2535 /* Note: because we've taken care in
2536 * yy_get_next_buffer() to have set up
2537 * yytext, we can now set up
2538 * yy_c_buf_p so that if some total
2539 * hoser (like flex itself) wants to
2540 * call the scanner after we return the
2541 * YY_NULL, it'll still work - another
2542 * YY_NULL will get returned.
2543 */
2545
2547 goto do_action;
2548 }
2549
2550 else
2551 {
2554 }
2555 break;
2556 }
2557
2559 yy_c_buf_p =
2560 yytext_ptr + yy_amount_of_matched_text;
2561
2562 yy_current_state = yy_get_previous_state();
2563
2564 yy_cp = yy_c_buf_p;
2566 goto yy_match;
2567
2568 case EOB_ACT_LAST_MATCH:
2569 yy_c_buf_p =
2570 &yy_current_buffer->yy_ch_buf[yy_n_chars];
2571
2572 yy_current_state = yy_get_previous_state();
2573
2574 yy_cp = yy_c_buf_p;
2576 goto yy_find_action;
2577 }
2578 break;
2579 }
2580
2581 default:
2583 "fatal flex scanner internal error--no action found" );
2584 } /* end of action switch */
2585 } /* end of scanning one token */
#define TRUE
Definition auxiliary.h:101
#define FALSE
Definition auxiliary.h:97
unsigned char * proc[NUM_PROC]
Definition checklibs.c:16
#define Warn
Definition emacs.cc:77
@ PROC_CMD
Definition grammar.cc:281
idhdl enterid(const char *s, int lev, int t, idhdl *root, BOOLEAN init, BOOLEAN search)
Definition ipid.cc:256
VAR package basePack
Definition ipid.cc:56
VAR package currPack
Definition ipid.cc:55
BOOLEAN piKill(procinfov pi)
Definition ipid.cc:724
#define IDPROC(a)
Definition ipid.h:140
#define IDPACKAGE(a)
Definition ipid.h:139
VAR libstackv library_stack
Definition iplib.cc:68
procinfo * iiInitSingularProcinfo(procinfov pi, const char *libname, const char *procname, int, long pos, BOOLEAN pstatic)
Definition iplib.cc:1059
#define YY_NEW_FILE
Definition libparse.cc:112
#define info
Definition libparse.cc:1256
VAR int found_proc_in_proc
Definition libparse.cc:1112
#define pestr
Definition libparse.cc:1250
VAR idhdl h0
Definition libparse.cc:1143
#define pstr
Definition libparse.cc:1246
#define help
Definition libparse.cc:1230
#define phelp
Definition libparse.cc:1242
unsigned char YY_CHAR
Definition libparse.cc:284
#define string
Definition libparse.cc:1252
#define YYSTATE
Definition libparse.cc:106
#define libcmd
Definition libparse.cc:1232
#define YY_BREAK
Definition libparse.cc:1402
#define pbody
Definition libparse.cc:1244
#define comment
Definition libparse.cc:1254
#define category
Definition libparse.cc:1258
static yyconst int yy_ec[256]
Definition libparse.cc:365
#define YY_BUFFER_NEW
Definition libparse.cc:206
VAR int found_oldhelp
Definition libparse.cc:1111
#define YY_RESTORE_YY_MORE_OFFSET
Definition libparse.cc:1048
VAR int found_version
Definition libparse.cc:1110
#define yywrap
Definition libparse.cc:17
#define libcmd2
Definition libparse.cc:1234
#define SET_DEF_END(mode, pi, p)
Definition libparse.cc:1155
#define YY_BUFFER_NORMAL
Definition libparse.cc:207
#define YY_RULE_SETUP
Definition libparse.cc:1405
#define url
Definition libparse.cc:1260
#define YY_AT_BOL()
Definition libparse.cc:282
#define yymore()
Definition libparse.cc:1046
VAR int found_cat
Definition libparse.cc:1109
static yyconst short int yy_base[533]
Definition libparse.cc:407
#define EOB_ACT_END_OF_FILE
Definition libparse.cc:125
STATIC_VAR int yy_did_buffer_switch_on_eof
Definition libparse.cc:246
#define SET_EXAMPLE_START(mode, pi, l, p)
Definition libparse.cc:1176
#define YY_START
Definition libparse.cc:105
VAR BOOLEAN p_static
Definition libparse.cc:1094
void make_version(char *p, int what)
Definition libparse.cc:3386
static int yy_get_next_buffer()
Definition libparse.cc:2597
#define SET_HELP_START(mode, pi, p)
Definition libparse.cc:1157
int yy_state_type
Definition libparse.cc:286
REGISTER int yy_act
Definition libparse.cc:1415
#define INITIAL
Definition libparse.cc:1051
static yyconst short int yy_def[533]
Definition libparse.cc:470
static yyconst short int yy_nxt[2253]
Definition libparse.cc:533
#define phead
Definition libparse.cc:1238
#define ECHO
Definition libparse.cc:1343
static yyconst short int yy_accept[485]
Definition libparse.cc:308
#define IncrCheckSum(c)
Definition libparse.cc:1191
#define YY_STATE_EOF(state)
Definition libparse.cc:109
#define BEGIN
Definition libparse.cc:99
VAR int old_state
Definition libparse.cc:1095
void copy_string(lp_modes mode)
Definition libparse.cc:3406
VAR idhdl h_top
Definition libparse.cc:1144
static yyconst short int yy_chk[2253]
Definition libparse.cc:785
#define YY_FATAL_ERROR(msg)
Definition libparse.cc:1383
#define yyterminate()
Definition libparse.cc:1373
#define SET_BODY_END(mode, pi, p)
Definition libparse.cc:1169
static yy_state_type yy_get_previous_state()
Definition libparse.cc:2729
VAR int found_info
Definition libparse.cc:1108
#define EOB_ACT_LAST_MATCH
Definition libparse.cc:126
VAR int check
Definition libparse.cc:1106
#define EOB_ACT_CONTINUE_SCAN
Definition libparse.cc:124
VAR int lpverbose
Definition libparse.cc:1106
#define version
Definition libparse.cc:1262
#define poldhelp
Definition libparse.cc:1240
#define yyless(n)
Definition libparse.cc:144
#define pdef
Definition libparse.cc:1236
#define pexample
Definition libparse.cc:1248
#define SET_HELP_END(mode, pi, p)
Definition libparse.cc:1159
static yyconst int yy_meta[53]
Definition libparse.cc:397
static yy_state_type yy_try_NUL_trans(yy_state_type yy_current_state)
Definition libparse.cc:2765
#define YY_SC_TO_UI(c)
Definition libparse.cc:93
#define SET_PROC_END(mode, pi, p)
Definition libparse.cc:1182
STATIC_VAR yy_state_type yy_last_accepting_state
Definition libparse.cc:1037
#define SET_BODY_START(mode, pi, l, p)
Definition libparse.cc:1163
STATIC_VAR char * yy_last_accepting_cpos
Definition libparse.cc:1038
@ NEW_LIBSTYLE
Definition libparse.h:9
#define YYLP_BODY_BR3
Definition libparse.h:88
#define YYLP_BODY_TMBR3
Definition libparse.h:90
#define YYLP_BODY_TMBR2
Definition libparse.h:89
#define YYLP_DEF_BR2
Definition libparse.h:86
#define YYLP_EX_BR3
Definition libparse.h:92
#define YYLP_EX_BR2
Definition libparse.h:91
#define YYLP_BODY_BR2
Definition libparse.h:87
#define YYLP_BAD_CHAR
Definition libparse.h:93
#define omStrDup(s)
#define malloc
Definition omAllocFunc.c:12
#define REGISTER
Definition omalloc.h:27
#define V_LOAD_PROC
Definition options.h:49

◆ yy_create_buffer()

YY_BUFFER_STATE yy_create_buffer ( FILE * file,
int size )

Definition at line 2971 of file libparse.cc.

2977 {
2978 YY_BUFFER_STATE b;
2979
2980 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
2981 if ( ! b )
2982 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2983
2984 b->yy_buf_size = size;
2985
2986 /* yy_ch_buf has to be 2 characters longer than the size given because
2987 * we need to put in 2 end-of-buffer characters.
2988 */
2989 b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
2990 if ( ! b->yy_ch_buf )
2991 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2992
2993 b->yy_is_our_buffer = 1;
2994
2995 yy_init_buffer( b, file );
2996
2997 return b;
2998 }
int size(const CanonicalForm &f, const Variable &v)
int size ( const CanonicalForm & f, const Variable & v )
Definition cf_ops.cc:600
CanonicalForm b
Definition cfModGcd.cc:4111
static void * yy_flex_alloc(yy_size_t size)
Definition libparse.cc:3299
#define yy_init_buffer
Definition libparse.cc:7

◆ yy_delete_buffer()

void yy_delete_buffer ( YY_BUFFER_STATE b)

Definition at line 3002 of file libparse.cc.

3007 {
3008 if ( ! b )
3009 return;
3010
3011 if ( b == yy_current_buffer )
3012 yy_current_buffer = (YY_BUFFER_STATE) 0;
3013
3014 if ( b->yy_is_our_buffer )
3015 yy_flex_free( (void *) b->yy_ch_buf );
3016
3017 yy_flex_free( (void *) b );
3018 }
static void yy_flex_free(void *ptr)
Definition libparse.cc:3327

◆ yy_fatal_error()

static void yy_fatal_error ( yyconst char msg[])
static

Definition at line 3235 of file libparse.cc.

3240 {
3241 (void) fprintf( stderr, "%s\n", msg );
3242 exit( YY_EXIT_FAILURE );
3243 }
#define YY_EXIT_FAILURE
Definition libparse.cc:3231

◆ yy_flex_alloc()

static void * yy_flex_alloc ( yy_size_t size)
static

Definition at line 3299 of file libparse.cc.

3304 {
3305 return (void *) malloc( size );
3306 }

◆ yy_flex_free()

static void yy_flex_free ( void * ptr)
static

Definition at line 3327 of file libparse.cc.

3332 {
3333 free( ptr );
3334 }
#define free
Definition omAllocFunc.c:14

◆ yy_flex_realloc()

static void * yy_flex_realloc ( void * ptr,
yy_size_t size )
static

Definition at line 3309 of file libparse.cc.

3315 {
3316 /* The cast to (char *) in the following accommodates both
3317 * implementations that use char* generic pointers, and those
3318 * that use void* generic pointers. It works with the latter
3319 * because both ANSI C and C++ allow castless assignment from
3320 * any pointer type to void*, and deal with argument conversions
3321 * as though doing an assignment.
3322 */
3323 return (void *) realloc( (char *) ptr, size );
3324 }
#define realloc
Definition omAllocFunc.c:16

◆ yy_flush_buffer()

void yy_flush_buffer ( YY_BUFFER_STATE b)

Definition at line 3055 of file libparse.cc.

3061 {
3062 if ( ! b )
3063 return;
3064
3065 b->yy_n_chars = 0;
3066
3067 /* We always need two end-of-buffer characters. The first causes
3068 * a transition to the end-of-buffer state. The second causes
3069 * a jam in that state.
3070 */
3071 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
3072 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
3073
3074 b->yy_buf_pos = &b->yy_ch_buf[0];
3075
3076 b->yy_at_bol = 1;
3077 b->yy_buffer_status = YY_BUFFER_NEW;
3078
3079 if ( b == yy_current_buffer )
3081 }
#define YY_END_OF_BUFFER_CHAR
Definition libparse.cc:114

◆ yy_get_next_buffer()

static int yy_get_next_buffer ( )
static

Definition at line 2597 of file libparse.cc.

2598 {
2599 REGISTER char *dest = yy_current_buffer->yy_ch_buf;
2600 REGISTER char *source = yytext_ptr;
2601 REGISTER int number_to_move, i;
2602 int ret_val;
2603
2604 if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
2606 "fatal flex scanner internal error--end of buffer missed" );
2607
2608 if ( yy_current_buffer->yy_fill_buffer == 0 )
2609 { /* Don't try to fill the buffer, so this is an EOF. */
2610 if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
2611 {
2612 /* We matched a single character, the EOB, so
2613 * treat this as a final EOF.
2614 */
2615 return EOB_ACT_END_OF_FILE;
2616 }
2617
2618 else
2619 {
2620 /* We matched some text prior to the EOB, first
2621 * process it.
2622 */
2623 return EOB_ACT_LAST_MATCH;
2624 }
2625 }
2626
2627 /* Try to read more data. */
2628
2629 /* First move last chars to start of buffer. */
2630 number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
2631
2632 for ( i = 0; i < number_to_move; ++i )
2633 *(dest++) = *(source++);
2634
2635 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
2636 /* don't do the read, it's not guaranteed to return an EOF,
2637 * just force an EOF
2638 */
2639 yy_current_buffer->yy_n_chars = yy_n_chars = 0;
2640
2641 else
2642 {
2643 int num_to_read =
2644 yy_current_buffer->yy_buf_size - number_to_move - 1;
2645
2646 while ( num_to_read <= 0 )
2647 { /* Not enough room in the buffer - grow it. */
2648#ifdef YY_USES_REJECT
2650"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
2651#else
2652
2653 /* just a shorter name for the current buffer */
2654 YY_BUFFER_STATE b = yy_current_buffer;
2655
2656 int yy_c_buf_p_offset =
2657 (int) (yy_c_buf_p - b->yy_ch_buf);
2658
2659 if ( b->yy_is_our_buffer )
2660 {
2661 int new_size = b->yy_buf_size * 2;
2662
2663 if ( new_size <= 0 )
2664 b->yy_buf_size += b->yy_buf_size / 8;
2665 else
2666 b->yy_buf_size *= 2;
2667
2668 b->yy_ch_buf = (char *)
2669 /* Include room in for 2 EOB chars. */
2670 yy_flex_realloc( (void *) b->yy_ch_buf,
2671 b->yy_buf_size + 2 );
2672 }
2673 else
2674 /* Can't grow it, we don't own it. */
2675 b->yy_ch_buf = 0;
2676
2677 if ( ! b->yy_ch_buf )
2679 "fatal error - scanner input buffer overflow" );
2680
2681 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2682
2683 num_to_read = yy_current_buffer->yy_buf_size -
2684 number_to_move - 1;
2685#endif
2686 }
2687
2688 if ( num_to_read > YY_READ_BUF_SIZE )
2689 num_to_read = YY_READ_BUF_SIZE;
2690
2691 /* Read in more data. */
2692 YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
2693 yy_n_chars, num_to_read );
2694
2695 yy_current_buffer->yy_n_chars = yy_n_chars;
2696 }
2697
2698 if ( yy_n_chars == 0 )
2699 {
2700 if ( number_to_move == YY_MORE_ADJ )
2701 {
2702 ret_val = EOB_ACT_END_OF_FILE;
2703 yyrestart( yyin );
2704 }
2705
2706 else
2707 {
2708 ret_val = EOB_ACT_LAST_MATCH;
2709 yy_current_buffer->yy_buffer_status =
2711 }
2712 }
2713
2714 else
2715 ret_val = EOB_ACT_CONTINUE_SCAN;
2716
2717 yy_n_chars += number_to_move;
2720
2721 yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
2722
2723 return ret_val;
2724 }
#define yyrestart
Definition libparse.cc:15
static void * yy_flex_realloc(void *ptr, yy_size_t size)
Definition libparse.cc:3309
#define YY_READ_BUF_SIZE
Definition libparse.cc:1334
#define YY_INPUT(buf, result, max_size)
Definition libparse.cc:1205
#define YY_BUFFER_EOF_PENDING
Definition libparse.cc:218

◆ yy_get_previous_state()

static yy_state_type yy_get_previous_state ( )
static

Definition at line 2729 of file libparse.cc.

2730 {
2731 REGISTER yy_state_type yy_current_state;
2732 REGISTER char *yy_cp;
2733
2734 yy_current_state = yy_start;
2735 yy_current_state += YY_AT_BOL();
2736
2738 {
2739 REGISTER YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2740 if ( yy_accept[yy_current_state] )
2741 {
2742 yy_last_accepting_state = yy_current_state;
2744 }
2745 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2746 {
2747 yy_current_state = (int) yy_def[yy_current_state];
2748 if ( yy_current_state >= 485 )
2749 yy_c = yy_meta[(unsigned int) yy_c];
2750 }
2751 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2752 }
2753
2754 return yy_current_state;
2755 }

◆ yy_init_buffer()

void yy_init_buffer ( YY_BUFFER_STATE b,
FILE * file )

Definition at line 3028 of file libparse.cc.

3036 {
3037 yy_flush_buffer( b );
3038
3039 b->yy_input_file = file;
3040 b->yy_fill_buffer = 1;
3041
3042#if YY_ALWAYS_INTERACTIVE
3043 b->yy_is_interactive = 1;
3044#else
3045#if YY_NEVER_INTERACTIVE
3046 b->yy_is_interactive = 0;
3047#else
3048 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
3049#endif
3050#endif
3051 }
#define yy_flush_buffer
Definition libparse.cc:8

◆ YY_PROTO() [1/16]

YY_BUFFER_STATE yy_scan_buffer YY_PROTO ( (char *base, yy_size_t size) )

◆ YY_PROTO() [2/16]

YY_BUFFER_STATE yy_create_buffer YY_PROTO ( (FILE *file, int size) )

◆ YY_PROTO() [3/16]

void yyrestart YY_PROTO ( (FILE *input_file) )

◆ YY_PROTO() [4/16]

static void yyunput YY_PROTO ( (int c, char *buf_ptr) )
static

◆ YY_PROTO() [5/16]

int isatty YY_PROTO ( (int) )
extern

◆ YY_PROTO() [6/16]

static void yy_flex_free YY_PROTO ( (void *) )
static

◆ YY_PROTO() [7/16]

static void *yy_flex_realloc YY_PROTO ( (void *, yy_size_t) )
static

◆ YY_PROTO() [8/16]

static int yyinput YY_PROTO ( (void) )

◆ YY_PROTO() [9/16]

void yy_flush_buffer YY_PROTO ( (YY_BUFFER_STATE b) )

◆ YY_PROTO() [10/16]

void yy_init_buffer YY_PROTO ( (YY_BUFFER_STATE b, FILE *file) )

◆ YY_PROTO() [11/16]

void yy_switch_to_buffer YY_PROTO ( (YY_BUFFER_STATE new_buffer) )

◆ YY_PROTO() [12/16]

static void *yy_flex_alloc YY_PROTO ( (yy_size_t) )
static

◆ YY_PROTO() [13/16]

static yy_state_type yy_try_NUL_trans YY_PROTO ( (yy_state_type current_state) )
static

◆ YY_PROTO() [14/16]

YY_BUFFER_STATE yy_scan_bytes YY_PROTO ( (yyconst char *bytes, int len) )

◆ YY_PROTO() [15/16]

YY_BUFFER_STATE yy_scan_string YY_PROTO ( (yyconst char *yy_str) )

◆ YY_PROTO() [16/16]

static void yy_fatal_error YY_PROTO ( (yyconst char msg[]) )
static

◆ yy_scan_buffer()

YY_BUFFER_STATE yy_scan_buffer ( char * base,
yy_size_t size )

Definition at line 3086 of file libparse.cc.

3092 {
3093 YY_BUFFER_STATE b;
3094
3095 if ( size < 2 ||
3096 base[size-2] != YY_END_OF_BUFFER_CHAR ||
3097 base[size-1] != YY_END_OF_BUFFER_CHAR )
3098 /* They forgot to leave room for the EOB's. */
3099 return 0;
3100
3101 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
3102 if ( ! b )
3103 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
3104
3105 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
3106 b->yy_buf_pos = b->yy_ch_buf = base;
3107 b->yy_is_our_buffer = 0;
3108 b->yy_input_file = 0;
3109 b->yy_n_chars = b->yy_buf_size;
3110 b->yy_is_interactive = 0;
3111 b->yy_at_bol = 1;
3112 b->yy_fill_buffer = 0;
3113 b->yy_buffer_status = YY_BUFFER_NEW;
3114
3116
3117 return b;
3118 }
#define yy_switch_to_buffer
Definition libparse.cc:10
char N base

◆ yy_scan_bytes()

YY_BUFFER_STATE yy_scan_bytes ( yyconst char * bytes,
int len )

Definition at line 3141 of file libparse.cc.

3147 {
3148 YY_BUFFER_STATE b;
3149 char *buf;
3150 yy_size_t n;
3151 int i;
3152
3153 /* Get memory for full buffer, including space for trailing EOB's. */
3154 n = len + 2;
3155 buf = (char *) yy_flex_alloc( n );
3156 if ( ! buf )
3157 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
3158
3159 for ( i = 0; i < len; ++i )
3160 buf[i] = bytes[i];
3161
3162 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
3163
3164 b = yy_scan_buffer( buf, n );
3165 if ( ! b )
3166 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
3167
3168 /* It's okay to grow etc. this buffer, and we should throw it
3169 * away when we're done.
3170 */
3171 b->yy_is_our_buffer = 1;
3172
3173 return b;
3174 }
#define yy_scan_buffer
Definition libparse.cc:3
unsigned int yy_size_t
Definition libparse.cc:161

◆ yy_scan_string()

YY_BUFFER_STATE yy_scan_string ( yyconst char * yy_str)

Definition at line 3124 of file libparse.cc.

3129 {
3130 int len;
3131 for ( len = 0; yy_str[len]; ++len )
3132 ;
3133
3134 return yy_scan_bytes( yy_str, len );
3135 }
#define yy_scan_bytes
Definition libparse.cc:5

◆ yy_switch_to_buffer()

void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer)

Definition at line 2928 of file libparse.cc.

2933 {
2934 if ( yy_current_buffer == new_buffer )
2935 return;
2936
2937 if ( yy_current_buffer )
2938 {
2939 /* Flush out information for old buffer. */
2941 yy_current_buffer->yy_buf_pos = yy_c_buf_p;
2942 yy_current_buffer->yy_n_chars = yy_n_chars;
2943 }
2944
2945 yy_current_buffer = new_buffer;
2947
2948 /* We don't actually know whether we did this switch during
2949 * EOF (yywrap()) processing, but the only time this flag
2950 * is looked at is after yywrap() is called, so it's safe
2951 * to go ahead and always set it.
2952 */
2954 }

◆ yy_try_NUL_trans()

static yy_state_type yy_try_NUL_trans ( yy_state_type yy_current_state)
static

Definition at line 2765 of file libparse.cc.

2770 {
2771 REGISTER int yy_is_jam;
2772 REGISTER char *yy_cp = yy_c_buf_p;
2773
2774 REGISTER YY_CHAR yy_c = 1;
2775 if ( yy_accept[yy_current_state] )
2776 {
2777 yy_last_accepting_state = yy_current_state;
2779 }
2780 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2781 {
2782 yy_current_state = (int) yy_def[yy_current_state];
2783 if ( yy_current_state >= 485 )
2784 yy_c = yy_meta[(unsigned int) yy_c];
2785 }
2786 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2787 yy_is_jam = (yy_current_state == 484);
2788
2789 return yy_is_jam ? 0 : yy_current_state;
2790 }

◆ yyinput()

static int yyinput ( )
static

Definition at line 2839 of file libparse.cc.

2843 {
2844 int c;
2845
2847
2849 {
2850 /* yy_c_buf_p now points to the character we want to return.
2851 * If this occurs *before* the EOB characters, then it's a
2852 * valid NUL; if not, then we've hit the end of the buffer.
2853 */
2855 /* This was really a NUL. */
2856 *yy_c_buf_p = '\0';
2857
2858 else
2859 { /* need more input */
2861 ++yy_c_buf_p;
2862
2863 switch ( yy_get_next_buffer() )
2864 {
2865 case EOB_ACT_LAST_MATCH:
2866 /* This happens because yy_g_n_b()
2867 * sees that we've accumulated a
2868 * token and flags that we need to
2869 * try matching the token before
2870 * proceeding. But for input(),
2871 * there's no matching to consider.
2872 * So convert the EOB_ACT_LAST_MATCH
2873 * to EOB_ACT_END_OF_FILE.
2874 */
2875
2876 /* Reset buffer status. */
2877 yyrestart( yyin );
2878
2879 /* fall through */
2880
2882 {
2883 if ( yywrap() )
2884 return EOF;
2885
2888#ifdef __cplusplus
2889 return yyinput();
2890#else
2891 return input();
2892#endif
2893 }
2894
2897 break;
2898 }
2899 }
2900 }
2901
2902 c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
2903 *yy_c_buf_p = '\0'; /* preserve yytext */
2905
2906 yy_current_buffer->yy_at_bol = (c == '\n');
2907
2908 return c;
2909 }
static int yyinput()
Definition libparse.cc:2839

◆ yylpwrap()

int yylpwrap ( )

Definition at line 3364 of file libparse.cc.

3365 {
3366 //printf("======================= YYWRAP ====================\n");
3370 if(quote>0) { yylp_errno=YYLP_MISSQUOT; }
3371 //printf("{=%d, (=%d, [=%d\n", brace1, brace2, brace3);
3372 if(feof(yyin)) return 1; else return 0;
3373 }
#define YYLP_MISSQUOT
Definition libparse.h:94
#define YYLP_MISS_BR1
Definition libparse.h:95
#define YYLP_MISS_BR2
Definition libparse.h:96
#define YYLP_MISS_BR3
Definition libparse.h:97

◆ yyrestart()

void yyrestart ( FILE * input_file)

Definition at line 2913 of file libparse.cc.

2918 {
2919 if ( ! yy_current_buffer )
2921
2922 yy_init_buffer( yy_current_buffer, input_file );
2924 }

◆ yyunput()

static void yyunput ( int c,
REGISTER char * yy_bp )
static

Definition at line 2795 of file libparse.cc.

2801 {
2802 REGISTER char *yy_cp = yy_c_buf_p;
2803
2804 /* undo effects of setting up yytext */
2806
2807 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2808 { /* need to shift things up to make room */
2809 /* +2 for EOB chars. */
2810 REGISTER int number_to_move = yy_n_chars + 2;
2811 REGISTER char *dest = &yy_current_buffer->yy_ch_buf[
2812 yy_current_buffer->yy_buf_size + 2];
2813 REGISTER char *source =
2814 &yy_current_buffer->yy_ch_buf[number_to_move];
2815
2816 while ( source > yy_current_buffer->yy_ch_buf )
2817 *--dest = *--source;
2818
2819 yy_cp += (int) (dest - source);
2820 yy_bp += (int) (dest - source);
2821 yy_current_buffer->yy_n_chars =
2822 yy_n_chars = yy_current_buffer->yy_buf_size;
2823
2824 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2825 YY_FATAL_ERROR( "flex scanner push-back overflow" );
2826 }
2827
2828 *--yy_cp = (char) c;
2829
2830
2831 yytext_ptr = yy_bp;
2833 yy_c_buf_p = yy_cp;
2834 }

Variable Documentation

◆ brace1

VAR int brace1 = 0

Definition at line 1089 of file libparse.cc.

◆ brace2

VAR int brace2 = 0

Definition at line 1090 of file libparse.cc.

◆ brace3

VAR int brace3 = 0

Definition at line 1091 of file libparse.cc.

◆ check

VAR int check = 0

Definition at line 1106 of file libparse.cc.

◆ found_cat

VAR int found_cat =0

Definition at line 1109 of file libparse.cc.

◆ found_info

VAR int found_info =0

Definition at line 1108 of file libparse.cc.

◆ found_oldhelp

VAR int found_oldhelp = 0

Definition at line 1111 of file libparse.cc.

◆ found_proc_in_proc

VAR int found_proc_in_proc = 0

Definition at line 1112 of file libparse.cc.

◆ found_version

VAR int found_version =0

Definition at line 1110 of file libparse.cc.

◆ h0

VAR idhdl h0

Definition at line 1143 of file libparse.cc.

◆ h_top

VAR idhdl h_top

Definition at line 1144 of file libparse.cc.

◆ help_chksum

STATIC_VAR unsigned long help_chksum

Definition at line 1153 of file libparse.cc.

◆ last_cmd

VAR lib_cmds last_cmd = LP_NONE

Definition at line 1096 of file libparse.cc.

◆ libnamebuf

VAR char libnamebuf[1024]

Definition at line 1098 of file libparse.cc.

◆ library_stack

EXTERN_VAR libstackv library_stack

Definition at line 1150 of file libparse.cc.

◆ lpverbose

VAR int lpverbose = 0

Definition at line 1106 of file libparse.cc.

◆ offset

VAR int offset = 0

Definition at line 1093 of file libparse.cc.

◆ old_state

VAR int old_state = 0

Definition at line 1095 of file libparse.cc.

◆ p_static

VAR BOOLEAN p_static = FALSE

Definition at line 1094 of file libparse.cc.

◆ quote

VAR int quote = 0

Definition at line 1092 of file libparse.cc.

◆ string_start

VAR long string_start

Definition at line 1100 of file libparse.cc.

◆ texinfo_out

VAR int texinfo_out = 0

Definition at line 1107 of file libparse.cc.

◆ text_buffer

VAR char* text_buffer =NULL

Definition at line 1099 of file libparse.cc.

◆ yy_accept

yyconst short int yy_accept[485]
static

Definition at line 308 of file libparse.cc.

309 { 0,
310 0, 0, 0, 0, 28, 28, 0, 0, 0, 0,
311 0, 0, 0, 0, 0, 0, 49, 49, 0, 0,
312 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
313 0, 0, 0, 0, 0, 0, 0, 0, 97, 95,
314 1, 92, 93, 2, 94, 95, 95, 95, 95, 95,
315 95, 95, 95, 95, 20, 19, 20, 20, 20, 20,
316 20, 20, 20, 20, 29, 28, 27, 29, 29, 29,
317 29, 29, 29, 29, 29, 96, 30, 96, 96, 96,
318 39, 32, 36, 33, 34, 38, 35, 43, 43, 96,
319 43, 43, 43, 43, 43, 43, 42, 47, 46, 47,
320
321 45, 49, 51, 48, 50, 63, 62, 53, 58, 59,
322 63, 60, 61, 63, 56, 57, 83, 82, 75, 78,
323 79, 83, 80, 81, 76, 77, 88, 87, 84, 88,
324 73, 72, 70, 73, 91, 90, 91, 66, 65, 64,
325 69, 68, 67, 0, 1, 0, 0, 0, 0, 0,
326 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
327 0, 0, 0, 28, 28, 0, 0, 0, 0, 0,
328 0, 0, 0, 30, 0, 31, 0, 0, 37, 0,
329 0, 0, 0, 0, 0, 0, 42, 0, 0, 0,
330 0, 0, 42, 42, 44, 49, 52, 0, 74, 86,
331
332 85, 71, 89, 0, 1, 1, 0, 1, 0, 0,
333 0, 0, 0, 0, 0, 0, 0, 0, 14, 13,
334 0, 0, 0, 0, 0, 0, 28, 28, 28, 28,
335 22, 21, 0, 0, 0, 0, 0, 0, 37, 37,
336 0, 0, 0, 41, 0, 42, 0, 0, 0, 0,
337 0, 52, 0, 74, 0, 0, 0, 1, 0, 0,
338 0, 0, 0, 0, 0, 0, 0, 0, 14, 13,
339 13, 0, 0, 0, 0, 0, 0, 0, 28, 22,
340 21, 21, 0, 0, 0, 0, 0, 0, 0, 0,
341 0, 41, 0, 0, 40, 0, 41, 0, 0, 0,
342
343 10, 11, 0, 0, 0, 0, 0, 0, 0, 0,
344 0, 0, 0, 13, 0, 0, 0, 0, 16, 0,
345 17, 0, 15, 21, 0, 0, 0, 0, 23, 0,
346 25, 0, 24, 0, 0, 40, 0, 0, 0, 0,
347 0, 0, 0, 0, 0, 8, 8, 7, 0, 0,
348 5, 0, 0, 0, 0, 12, 0, 0, 0, 18,
349 0, 0, 0, 26, 0, 0, 0, 0, 0, 55,
350 0, 0, 8, 8, 0, 9, 0, 0, 3, 0,
351 0, 8, 8, 8, 5, 5, 0, 0, 12, 12,
352 12, 0, 0, 0, 0, 0, 0, 8, 8, 8,
353
354 0, 3, 3, 0, 0, 0, 0, 0, 0, 0,
355 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
356 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
357 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
358 0, 6, 0, 0, 12, 0, 0, 0, 0, 0,
359 0, 54, 0, 0, 0, 0, 0, 4, 0, 0,
360 6, 6, 12, 12, 12, 0, 0, 0, 0, 0,
361 0, 0, 4, 4, 0, 0, 0, 0, 0, 0,
362 0, 0, 0, 0
363 } ;

◆ yy_act

REGISTER int yy_act

Definition at line 1415 of file libparse.cc.

◆ yy_base

yyconst short int yy_base[533]
static

Definition at line 407 of file libparse.cc.

408 { 0,
409 0, 47, 6, 93, 140, 187, 235, 287, 339, 391,
410 5, 11, 443, 0, 9, 12, 63, 69, 493, 543,
411 0, 0, 593, 643, 72, 80, 81, 90, 26, 31,
412 24, 52, 54, 95, 0, 0, 0, 0, 1250, 2200,
413 1202, 2200, 2200, 1226, 2200, 1213, 1221, 1183, 1164, 1170,
414 1162, 1105, 1106, 1114, 2200, 2200, 1131, 61, 1115, 1105,
415 1100, 1108, 1117, 1096, 2200, 84, 2200, 1121, 95, 1105,
416 1095, 1091, 1098, 1100, 1073, 2200, 2200, 1109, 1099, 1101,
417 2200, 2200, 2200, 2200, 2200, 1083, 2200, 2200, 694, 0,
418 0, 125, 745, 144, 151, 157, 2200, 2200, 2200, 1048,
419
420 2200, 99, 2200, 2200, 2200, 2200, 2200, 2200, 2200, 2200,
421 1080, 2200, 2200, 1052, 2200, 2200, 2200, 2200, 2200, 2200,
422 2200, 1073, 2200, 2200, 2200, 2200, 2200, 2200, 2200, 4,
423 2200, 2200, 2200, 14, 2200, 2200, 1071, 2200, 2200, 2200,
424 2200, 2200, 2200, 1041, 1066, 1056, 1071, 1029, 1042, 1032,
425 1024, 1033, 1024, 1002, 163, 1039, 1027, 984, 992, 983,
426 976, 986, 966, 111, 796, 985, 972, 941, 945, 936,
427 874, 894, 874, 2200, 908, 2200, 900, 906, 895, 0,
428 0, 172, 0, 179, 191, 207, 2200, 904, 903, 219,
429 902, 74, 847, 198, 2200, 119, 0, 866, 0, 2200,
430
431 2200, 2200, 2200, 865, 0, 889, 213, 0, 869, 760,
432 757, 659, 645, 263, 645, 245, 82, 672, 0, 671,
433 651, 643, 274, 639, 132, 650, 665, 651, 649, 642,
434 0, 632, 612, 601, 278, 593, 133, 601, 0, 611,
435 318, 324, 330, 0, 375, 612, 0, 0, 381, 0,
436 609, 0, 578, 0, 576, 349, 594, 0, 562, 555,
437 368, 161, 559, 404, 509, 547, 548, 547, 0, 0,
438 560, 538, 500, 412, 522, 536, 422, 564, 0, 0,
439 0, 551, 530, 550, 530, 559, 527, 571, 553, 586,
440 610, 2200, 622, 628, 0, 307, 2200, 536, 226, 214,
441
442 2200, 2200, 507, 509, 600, 660, 577, 514, 898, 918,
443 495, 491, 500, 501, 475, 637, 969, 975, 2200, 473,
444 2200, 502, 2200, 491, 459, 650, 981, 990, 2200, 457,
445 2200, 491, 2200, 996, 1001, 0, 646, 1051, 1010, 1101,
446 1005, 453, 406, 1014, 1151, 121, 2200, 2200, 433, 432,
447 0, 431, 430, 390, 396, 1203, 384, 1022, 381, 2200,
448 369, 1055, 362, 2200, 1029, 227, 370, 270, 526, 2200,
449 269, 0, 287, 2200, 349, 2200, 380, 358, 0, 357,
450 350, 288, 318, 343, 2200, 348, 1046, 312, 0, 1255,
451 311, 274, 1068, 254, 1089, 1093, 1076, 345, 403, 405,
452
453 1223, 2200, 290, 1118, 1124, 241, 1231, 1216, 1244, 1237,
454 1275, 1287, 1110, 101, 1307, 1293, 1314, 1344, 1334, 1351,
455 1364, 1374, 1394, 254, 1445, 1449, 1455, 1469, 1475, 1481,
456 662, 1300, 238, 0, 239, 1313, 154, 1490, 1510, 245,
457 200, 0, 199, 192, 1562, 1590, 1596, 1591, 605, 214,
458 1035, 2200, 1610, 1332, 1607, 190, 184, 0, 143, 137,
459 2200, 126, 0, 1641, 103, 1622, 155, 1692, 1655, 1673,
460 1722, 1712, 2200, 104, 1618, 0, 91, 1685, 220, 1728,
461 656, 230, 1734, 2200, 1765, 1776, 1787, 1798, 1809, 1820,
462 1831, 1842, 1853, 1864, 1875, 1886, 1897, 1908, 1919, 1926,
463
464 1933, 1944, 1955, 1966, 1977, 1988, 1999, 2010, 2021, 2032,
465 2042, 2048, 2054, 2064, 2065, 2076, 92, 2081, 2092, 2102,
466 2112, 2118, 2124, 2129, 51, 2140, 2150, 2160, 2167, 2177,
467 2183, 2188
468 } ;

◆ yy_bp

REGISTER char * yy_bp

Definition at line 1414 of file libparse.cc.

◆ yy_c_buf_p

STATIC_VAR char* yy_c_buf_p = (char *) 0

Definition at line 239 of file libparse.cc.

◆ yy_chk

yyconst short int yy_chk[2253]
static

Definition at line 785 of file libparse.cc.

786 { 0,
787 0, 1, 1, 1, 1, 0, 11, 11, 3, 11,
788 130, 15, 12, 12, 16, 12, 1, 11, 11, 1,
789 134, 11, 3, 12, 12, 1, 31, 12, 29, 1,
790 31, 130, 1, 30, 1, 3, 15, 1, 3, 16,
791 29, 134, 1, 3, 1, 30, 1, 1, 2, 2,
792 2, 2, 3, 3, 32, 11, 33, 525, 32, 15,
793 33, 12, 16, 2, 17, 17, 2, 17, 58, 17,
794 18, 18, 2, 18, 25, 18, 2, 58, 25, 2,
795 192, 2, 26, 27, 2, 66, 26, 27, 66, 2,
796 217, 2, 28, 2, 2, 4, 28, 34, 517, 25,
797
798 102, 34, 69, 102, 477, 217, 217, 26, 27, 4,
799 474, 69, 164, 17, 414, 164, 414, 28, 4, 18,
800 196, 465, 4, 196, 192, 4, 92, 92, 92, 92,
801 4, 92, 462, 225, 237, 4, 225, 237, 346, 4,
802 4, 5, 5, 460, 5, 94, 94, 94, 94, 459,
803 94, 346, 95, 95, 95, 95, 5, 95, 96, 96,
804 96, 96, 262, 96, 155, 262, 437, 155, 467, 5,
805 467, 155, 5, 182, 182, 182, 182, 5, 182, 155,
806 184, 184, 184, 184, 437, 184, 5, 5, 6, 6,
807 457, 6, 185, 185, 185, 185, 456, 185, 444, 194,
808
809 194, 194, 194, 6, 194, 443, 441, 96, 186, 186,
810 186, 186, 6, 186, 207, 300, 6, 207, 300, 6,
811 190, 190, 190, 190, 6, 207, 450, 299, 366, 6,
812 299, 366, 479, 6, 6, 7, 7, 7, 7, 7,
813 7, 7, 482, 7, 450, 7, 216, 7, 7, 216,
814 479, 440, 435, 216, 7, 7, 299, 186, 299, 366,
815 482, 7, 7, 7, 214, 214, 214, 214, 433, 190,
816 371, 368, 424, 371, 368, 223, 223, 223, 223, 235,
817 235, 235, 235, 214, 406, 7, 7, 8, 8, 8,
818 8, 8, 8, 8, 223, 8, 403, 8, 235, 8,
819
820 8, 214, 368, 394, 373, 382, 8, 8, 296, 296,
821 296, 296, 223, 8, 8, 8, 235, 373, 382, 241,
822 241, 241, 241, 392, 241, 242, 242, 242, 242, 391,
823 242, 243, 243, 243, 243, 383, 243, 8, 8, 9,
824 9, 9, 9, 9, 9, 9, 388, 9, 383, 9,
825 256, 9, 9, 256, 386, 256, 381, 296, 9, 9,
826 384, 256, 398, 380, 378, 9, 9, 9, 241, 261,
827 261, 261, 261, 384, 242, 398, 245, 245, 245, 245,
828 243, 245, 249, 249, 249, 249, 377, 249, 261, 9,
829 9, 10, 10, 10, 10, 10, 10, 10, 375, 10,
830
831 367, 10, 363, 10, 10, 264, 264, 264, 264, 261,
832 10, 10, 361, 274, 274, 274, 274, 10, 10, 10,
833 399, 359, 400, 277, 264, 245, 277, 357, 277, 355,
834 354, 249, 274, 399, 277, 400, 353, 352, 350, 349,
835 343, 10, 10, 13, 13, 13, 13, 13, 13, 13,
836 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
837 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
838 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
839 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
840 13, 13, 13, 13, 13, 19, 342, 332, 330, 19,
841
842 325, 273, 273, 273, 273, 19, 19, 324, 322, 19,
843 265, 265, 265, 265, 320, 265, 315, 314, 313, 19,
844 273, 19, 312, 275, 275, 275, 275, 369, 275, 265,
845 369, 285, 285, 285, 285, 19, 311, 298, 298, 298,
846 298, 273, 275, 19, 19, 20, 308, 304, 303, 20,
847 285, 284, 284, 284, 284, 20, 20, 289, 369, 20,
848 286, 286, 286, 286, 287, 286, 283, 282, 278, 20,
849 284, 20, 288, 276, 272, 288, 271, 288, 307, 286,
850 268, 307, 267, 288, 266, 20, 298, 290, 290, 290,
851 290, 284, 290, 20, 20, 23, 263, 260, 259, 23,
852
853 257, 305, 305, 305, 305, 23, 23, 307, 255, 23,
854 253, 291, 291, 291, 291, 251, 291, 449, 246, 23,
855 305, 23, 449, 293, 293, 293, 293, 240, 293, 294,
856 294, 294, 294, 238, 294, 449, 290, 236, 316, 316,
857 316, 316, 234, 23, 23, 24, 233, 337, 232, 24,
858 337, 326, 326, 326, 326, 24, 24, 316, 230, 24,
859 291, 306, 306, 306, 306, 229, 306, 228, 481, 24,
860 326, 24, 293, 481, 431, 431, 337, 431, 294, 431,
861 306, 227, 226, 224, 222, 221, 481, 220, 218, 215,
862 213, 212, 431, 24, 24, 89, 89, 89, 89, 89,
863
864 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
865 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
866 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
867 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
868 89, 89, 89, 89, 89, 89, 93, 93, 93, 93,
869 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
870 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
871 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
872 93, 93, 93, 93, 93, 93, 93, 93, 93, 93,
873 93, 93, 93, 93, 93, 93, 93, 165, 211, 210,
874
875 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
876 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
877 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
878 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
879 165, 165, 165, 165, 165, 165, 165, 165, 193, 193,
880 193, 193, 193, 193, 193, 193, 193, 193, 193, 193,
881 193, 193, 193, 193, 193, 193, 193, 193, 193, 193,
882 193, 193, 193, 193, 193, 193, 193, 193, 193, 193,
883 193, 193, 193, 193, 193, 193, 193, 193, 193, 193,
884 193, 193, 193, 193, 193, 193, 193, 193, 193, 309,
885
886 309, 309, 309, 209, 309, 206, 204, 198, 191, 189,
887 188, 179, 178, 177, 175, 173, 172, 171, 309, 310,
888 310, 310, 310, 310, 310, 310, 310, 310, 310, 310,
889 310, 310, 310, 310, 310, 310, 310, 310, 310, 310,
890 310, 310, 310, 310, 310, 310, 310, 310, 310, 310,
891 310, 310, 310, 310, 310, 310, 310, 310, 310, 310,
892 310, 310, 310, 310, 310, 310, 310, 310, 310, 310,
893 317, 317, 317, 317, 170, 317, 318, 318, 318, 318,
894 169, 318, 327, 327, 327, 327, 168, 327, 167, 317,
895 166, 328, 328, 328, 328, 318, 328, 334, 334, 334,
896
897 334, 327, 335, 335, 335, 335, 341, 163, 162, 341,
898 328, 339, 339, 339, 339, 344, 344, 344, 344, 161,
899 344, 160, 339, 358, 358, 358, 358, 159, 358, 158,
900 365, 365, 365, 365, 344, 341, 451, 451, 451, 451,
901 339, 365, 358, 157, 156, 154, 334, 387, 387, 387,
902 387, 335, 338, 338, 338, 338, 362, 362, 362, 362,
903 339, 362, 153, 338, 152, 151, 387, 150, 338, 393,
904 393, 393, 393, 149, 148, 362, 147, 397, 146, 365,
905 397, 338, 145, 397, 144, 451, 387, 137, 393, 122,
906 395, 395, 395, 395, 396, 114, 111, 396, 100, 86,
907
908 396, 338, 340, 340, 340, 340, 397, 80, 393, 395,
909 396, 413, 79, 340, 413, 78, 75, 413, 340, 404,
910 404, 404, 404, 396, 74, 405, 405, 405, 405, 395,
911 405, 340, 73, 340, 72, 71, 70, 68, 404, 64,
912 413, 63, 62, 61, 405, 60, 59, 57, 54, 53,
913 52, 340, 345, 345, 345, 345, 345, 345, 345, 345,
914 345, 345, 345, 345, 345, 345, 345, 345, 345, 345,
915 345, 345, 345, 345, 345, 345, 345, 345, 345, 345,
916 345, 345, 345, 345, 345, 345, 345, 345, 345, 345,
917 345, 345, 345, 345, 345, 345, 345, 345, 345, 345,
918
919 345, 345, 345, 356, 356, 51, 356, 356, 356, 356,
920 50, 356, 49, 356, 48, 356, 356, 408, 408, 408,
921 408, 356, 356, 356, 401, 401, 401, 401, 47, 356,
922 356, 356, 407, 407, 407, 407, 408, 46, 410, 410,
923 410, 410, 44, 401, 41, 409, 409, 409, 409, 39,
924 409, 407, 0, 356, 356, 390, 390, 410, 390, 390,
925 390, 390, 0, 390, 409, 390, 0, 390, 390, 0,
926 0, 0, 401, 0, 390, 390, 411, 411, 411, 411,
927 407, 390, 390, 390, 0, 0, 410, 0, 412, 412,
928 412, 412, 0, 412, 416, 411, 0, 416, 0, 0,
929
930 416, 432, 432, 432, 432, 390, 390, 412, 415, 0,
931 416, 415, 432, 0, 415, 417, 0, 0, 417, 415,
932 415, 417, 415, 416, 415, 436, 436, 417, 436, 417,
933 436, 417, 0, 454, 0, 419, 454, 415, 419, 454,
934 0, 419, 0, 436, 417, 418, 0, 419, 418, 419,
935 432, 418, 420, 420, 420, 420, 418, 418, 0, 418,
936 0, 418, 454, 0, 419, 421, 421, 421, 421, 0,
937 421, 420, 0, 0, 418, 422, 422, 422, 422, 0,
938 422, 0, 0, 0, 421, 0, 0, 0, 0, 0,
939 0, 0, 0, 0, 422, 423, 423, 423, 423, 423,
940
941 423, 423, 423, 423, 423, 423, 423, 423, 423, 423,
942 423, 423, 423, 423, 423, 423, 423, 423, 423, 423,
943 423, 423, 423, 423, 423, 423, 423, 423, 423, 423,
944 423, 423, 423, 423, 423, 423, 423, 423, 423, 423,
945 423, 423, 423, 423, 423, 423, 425, 425, 425, 425,
946 426, 426, 426, 426, 0, 426, 427, 427, 427, 427,
947 0, 427, 0, 0, 0, 425, 0, 0, 0, 426,
948 428, 428, 428, 428, 0, 427, 429, 429, 429, 429,
949 0, 429, 430, 430, 430, 430, 0, 430, 0, 428,
950 0, 438, 438, 438, 438, 429, 438, 0, 0, 0,
951
952 0, 430, 0, 0, 0, 0, 0, 0, 0, 0,
953 438, 439, 439, 439, 439, 439, 439, 439, 439, 439,
954 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
955 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
956 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
957 439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
958 439, 439, 445, 445, 0, 445, 445, 445, 445, 0,
959 445, 0, 445, 0, 445, 445, 0, 0, 0, 0,
960 445, 445, 445, 0, 0, 0, 0, 0, 445, 445,
961 445, 446, 446, 446, 446, 0, 446, 447, 447, 447,
962
963 447, 0, 447, 448, 448, 0, 448, 0, 448, 0,
964 446, 453, 445, 445, 453, 0, 447, 453, 0, 455,
965 455, 448, 455, 466, 455, 0, 466, 453, 0, 466,
966 475, 475, 0, 475, 0, 475, 0, 455, 0, 0,
967 453, 464, 464, 0, 464, 464, 464, 464, 475, 464,
968 0, 464, 466, 464, 464, 0, 469, 0, 0, 469,
969 464, 464, 469, 0, 0, 0, 0, 464, 464, 464,
970 0, 0, 469, 0, 470, 0, 0, 470, 0, 0,
971 470, 0, 0, 0, 0, 469, 470, 0, 470, 0,
972 470, 464, 464, 468, 0, 0, 468, 478, 478, 468,
973
974 478, 0, 478, 470, 468, 468, 0, 468, 0, 468,
975 0, 0, 0, 472, 0, 478, 472, 0, 0, 472,
976 0, 0, 468, 471, 0, 472, 471, 472, 0, 471,
977 0, 0, 0, 0, 471, 471, 0, 471, 0, 471,
978 480, 480, 472, 480, 0, 480, 483, 483, 0, 483,
979 0, 483, 471, 0, 0, 0, 0, 0, 480, 0,
980 0, 0, 0, 0, 483, 485, 485, 485, 485, 485,
981 485, 485, 485, 485, 485, 485, 486, 486, 486, 486,
982 486, 486, 486, 486, 486, 486, 486, 487, 487, 487,
983 487, 487, 487, 487, 487, 487, 487, 487, 488, 488,
984
985 488, 488, 488, 488, 488, 488, 488, 488, 488, 489,
986 489, 489, 489, 489, 489, 489, 489, 489, 489, 489,
987 490, 490, 490, 490, 490, 490, 490, 490, 490, 490,
988 490, 491, 491, 491, 491, 491, 491, 491, 491, 491,
989 491, 491, 492, 492, 492, 492, 492, 492, 492, 492,
990 492, 492, 492, 493, 493, 493, 493, 493, 493, 493,
991 493, 493, 493, 493, 494, 494, 494, 494, 494, 494,
992 494, 494, 494, 494, 494, 495, 495, 495, 495, 495,
993 495, 495, 495, 495, 495, 495, 496, 496, 496, 496,
994 496, 496, 496, 496, 496, 496, 496, 497, 497, 497,
995
996 497, 497, 497, 497, 497, 497, 497, 497, 498, 498,
997 498, 498, 498, 498, 498, 498, 498, 498, 498, 499,
998 499, 499, 499, 499, 499, 499, 499, 499, 499, 499,
999 500, 500, 500, 0, 0, 500, 500, 501, 501, 501,
1000 0, 0, 501, 501, 502, 502, 0, 502, 502, 502,
1001 502, 502, 502, 502, 502, 503, 503, 0, 503, 503,
1002 503, 503, 503, 503, 503, 503, 504, 504, 0, 504,
1003 504, 504, 504, 504, 504, 504, 504, 505, 505, 0,
1004 505, 505, 505, 505, 505, 505, 505, 505, 506, 506,
1005 0, 506, 506, 506, 506, 506, 506, 506, 506, 507,
1006
1007 507, 0, 507, 507, 507, 507, 507, 507, 507, 507,
1008 508, 508, 0, 508, 508, 508, 508, 508, 508, 508,
1009 508, 509, 509, 0, 509, 509, 509, 509, 509, 509,
1010 509, 509, 510, 510, 0, 510, 510, 510, 510, 510,
1011 510, 510, 510, 511, 0, 0, 0, 0, 511, 512,
1012 0, 0, 0, 0, 512, 513, 513, 513, 0, 0,
1013 513, 513, 0, 0, 513, 514, 0, 0, 0, 0,
1014 514, 515, 0, 0, 0, 515, 516, 516, 0, 516,
1015 516, 516, 516, 516, 516, 516, 516, 518, 0, 0,
1016 0, 518, 519, 519, 0, 519, 519, 519, 519, 519,
1017
1018 519, 519, 519, 520, 0, 0, 0, 520, 520, 0,
1019 0, 0, 520, 521, 0, 0, 0, 521, 521, 522,
1020 0, 0, 0, 522, 522, 523, 0, 0, 0, 523,
1021 523, 523, 523, 523, 523, 524, 524, 524, 524, 524,
1022 526, 526, 0, 526, 526, 526, 526, 526, 526, 526,
1023 526, 527, 0, 0, 0, 527, 527, 0, 0, 0,
1024 527, 528, 0, 0, 0, 528, 528, 529, 529, 0,
1025 529, 529, 529, 529, 529, 529, 529, 529, 530, 0,
1026 0, 0, 530, 530, 531, 0, 0, 0, 531, 531,
1027 531, 531, 531, 531, 532, 532, 532, 532, 532, 484,
1028
1029 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
1030 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
1031 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
1032 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
1033 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
1034 484, 484
1035 } ;

◆ yy_cp

REGISTER char* yy_cp

Definition at line 1414 of file libparse.cc.

◆ yy_current_buffer

STATIC_VAR YY_BUFFER_STATE yy_current_buffer = 0

Definition at line 221 of file libparse.cc.

◆ YY_DECL

YY_DECL
Initial value:
{
REGISTER yy_state_type yy_current_state

Definition at line 1411 of file libparse.cc.

◆ yy_def

yyconst short int yy_def[533]
static

Definition at line 470 of file libparse.cc.

471 { 0,
472 485, 485, 486, 486, 487, 487, 488, 488, 489, 489,
473 490, 490, 484, 13, 491, 491, 492, 492, 493, 493,
474 492, 492, 494, 494, 495, 495, 496, 496, 497, 497,
475 498, 498, 499, 499, 492, 492, 492, 492, 484, 484,
476 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
477 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
478 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
479 484, 484, 484, 484, 484, 484, 484, 500, 484, 501,
480 484, 484, 484, 484, 484, 484, 484, 484, 484, 89,
481 89, 89, 484, 89, 89, 89, 484, 484, 484, 484,
482
483 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
484 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
485 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
486 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
487 484, 484, 484, 484, 502, 484, 484, 484, 484, 484,
488 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
489 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
490 484, 484, 484, 484, 500, 484, 484, 501, 503, 89,
491 89, 89, 93, 89, 89, 89, 484, 93, 93, 93,
492 93, 93, 484, 89, 484, 484, 504, 484, 505, 484,
493
494 484, 484, 484, 484, 502, 502, 484, 506, 484, 484,
495 484, 484, 484, 484, 484, 484, 484, 484, 507, 508,
496 484, 484, 484, 484, 484, 484, 165, 165, 165, 165,
497 509, 510, 484, 484, 484, 484, 484, 484, 503, 503,
498 89, 93, 93, 193, 93, 93, 193, 193, 484, 193,
499 193, 504, 484, 505, 484, 484, 484, 506, 484, 484,
500 484, 484, 484, 484, 484, 484, 484, 484, 507, 508,
501 508, 484, 484, 484, 484, 484, 484, 484, 165, 509,
502 510, 510, 484, 484, 484, 484, 484, 484, 484, 89,
503 89, 484, 93, 93, 193, 484, 484, 193, 511, 484,
504
505 484, 484, 484, 484, 484, 484, 512, 484, 484, 484,
506 484, 484, 484, 508, 484, 484, 484, 484, 484, 484,
507 484, 484, 484, 510, 484, 484, 484, 484, 484, 484,
508 484, 484, 484, 193, 193, 193, 511, 513, 511, 513,
509 514, 484, 484, 484, 484, 515, 484, 484, 310, 310,
510 310, 310, 310, 484, 484, 516, 484, 484, 484, 484,
511 484, 484, 484, 484, 484, 340, 517, 340, 340, 484,
512 339, 340, 518, 484, 484, 484, 345, 345, 345, 345,
513 345, 515, 515, 515, 484, 310, 484, 484, 519, 516,
514 390, 484, 484, 484, 484, 520, 521, 518, 518, 518,
515
516 484, 484, 345, 484, 484, 484, 484, 484, 484, 484,
517 484, 484, 522, 484, 523, 520, 520, 523, 521, 484,
518 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
519 524, 484, 525, 418, 484, 417, 417, 484, 484, 423,
520 423, 423, 423, 423, 526, 484, 484, 524, 484, 484,
521 484, 484, 527, 528, 524, 439, 439, 439, 439, 439,
522 484, 423, 529, 526, 464, 530, 484, 531, 527, 527,
523 531, 528, 484, 439, 532, 471, 484, 470, 470, 532,
524 484, 484, 532, 0, 484, 484, 484, 484, 484, 484,
525 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
526
527 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
528 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
529 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
530 484, 484
531 } ;

◆ yy_did_buffer_switch_on_eof

STATIC_VAR int yy_did_buffer_switch_on_eof

Definition at line 246 of file libparse.cc.

◆ yy_ec

yyconst int yy_ec[256]
static

Definition at line 365 of file libparse.cc.

366 { 0,
367 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
368 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
369 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
370 1, 5, 6, 7, 8, 9, 10, 11, 12, 13,
371 14, 15, 11, 16, 11, 10, 17, 18, 18, 18,
372 18, 18, 18, 18, 18, 18, 18, 19, 20, 11,
373 21, 11, 11, 12, 22, 23, 22, 22, 22, 22,
374 22, 24, 25, 22, 22, 26, 22, 22, 22, 22,
375 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
376 27, 28, 29, 30, 31, 11, 32, 22, 33, 34,
377
378 35, 36, 37, 22, 38, 22, 22, 39, 40, 41,
379 42, 43, 22, 44, 45, 46, 47, 48, 22, 49,
380 50, 22, 51, 11, 52, 11, 1, 1, 1, 1,
381 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
382 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
383 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
384 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
385 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
386 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
387 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
388
389 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
390 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
391 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
392 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
393 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
394 1, 1, 1, 1, 1
395 } ;

◆ yy_hold_char

STATIC_VAR char yy_hold_char

Definition at line 231 of file libparse.cc.

◆ yy_init

STATIC_VAR int yy_init = 1

Definition at line 240 of file libparse.cc.

◆ yy_last_accepting_cpos

STATIC_VAR char* yy_last_accepting_cpos

Definition at line 1038 of file libparse.cc.

◆ yy_last_accepting_state

STATIC_VAR yy_state_type yy_last_accepting_state

Definition at line 1037 of file libparse.cc.

◆ yy_meta

yyconst int yy_meta[53]
static
Initial value:
=
{ 0,
1, 2, 3, 4, 2, 1, 5, 6, 1, 5,
1, 7, 8, 9, 5, 10, 5, 11, 5, 1,
1, 7, 7, 7, 7, 7, 1, 1, 1, 5,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
4, 1
}

Definition at line 397 of file libparse.cc.

398 { 0,
399 1, 2, 3, 4, 2, 1, 5, 6, 1, 5,
400 1, 7, 8, 9, 5, 10, 5, 11, 5, 1,
401 1, 7, 7, 7, 7, 7, 1, 1, 1, 5,
402 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
403 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
404 4, 1
405 } ;

◆ yy_more_flag

STATIC_VAR int yy_more_flag = 0

Definition at line 1044 of file libparse.cc.

◆ yy_more_len

STATIC_VAR int yy_more_len = 0

Definition at line 1045 of file libparse.cc.

◆ yy_n_chars

STATIC_VAR int yy_n_chars

Definition at line 233 of file libparse.cc.

◆ yy_nxt

yyconst short int yy_nxt[2253]
static

Definition at line 533 of file libparse.cc.

534 { 0,
535 484, 41, 42, 43, 41, 484, 82, 83, 56, 82,
536 200, 99, 82, 83, 99, 82, 44, 84, 85, 45,
537 202, 86, 57, 84, 85, 46, 139, 86, 136, 47,
538 140, 201, 48, 136, 49, 58, 100, 50, 59, 100,
539 137, 202, 51, 60, 52, 137, 53, 54, 41, 42,
540 43, 41, 61, 62, 139, 87, 142, 453, 140, 101,
541 143, 87, 101, 44, 102, 103, 45, 102, 156, 104,
542 102, 103, 46, 102, 128, 104, 47, 157, 129, 48,
543 245, 49, 128, 132, 50, 164, 129, 133, 164, 51,
544 217, 52, 132, 53, 54, 56, 133, 142, 396, 130,
545
546 196, 143, 166, 196, 483, 267, 268, 130, 134, 57,
547 473, 167, 164, 105, 432, 164, 433, 134, 63, 105,
548 196, 465, 58, 196, 246, 59, 182, 185, 185, 182,
549 60, 185, 461, 277, 288, 64, 277, 288, 383, 61,
550 62, 66, 67, 474, 66, 182, 185, 185, 182, 473,
551 185, 384, 182, 185, 185, 182, 68, 185, 182, 185,
552 185, 182, 307, 185, 216, 307, 435, 216, 432, 69,
553 433, 217, 70, 182, 185, 185, 182, 71, 185, 218,
554 182, 185, 185, 182, 437, 185, 72, 73, 66, 67,
555 473, 66, 182, 185, 185, 182, 473, 185, 462, 182,
556
557 185, 185, 182, 68, 185, 461, 461, 194, 182, 185,
558 185, 182, 74, 185, 256, 341, 69, 256, 341, 70,
559 242, 243, 243, 242, 71, 257, 435, 337, 365, 75,
560 337, 365, 477, 72, 73, 76, 76, 76, 76, 76,
561 76, 77, 477, 76, 450, 76, 216, 76, 76, 216,
562 479, 461, 455, 217, 76, 76, 339, 194, 340, 366,
563 482, 76, 76, 76, 264, 264, 264, 264, 454, 244,
564 371, 365, 445, 371, 365, 274, 274, 274, 274, 285,
565 285, 285, 285, 265, 424, 76, 76, 76, 76, 76,
566 76, 76, 76, 77, 275, 76, 402, 76, 286, 76,
567
568 76, 214, 366, 410, 399, 383, 76, 76, 296, 296,
569 296, 296, 223, 76, 76, 76, 235, 400, 384, 290,
570 291, 291, 290, 407, 241, 242, 243, 243, 242, 391,
571 241, 242, 243, 243, 242, 383, 241, 76, 76, 76,
572 76, 76, 76, 76, 76, 79, 406, 76, 384, 76,
573 256, 76, 76, 256, 385, 301, 403, 297, 76, 76,
574 383, 257, 399, 402, 402, 76, 76, 76, 292, 305,
575 305, 305, 305, 384, 244, 400, 293, 294, 294, 293,
576 244, 241, 296, 296, 296, 296, 402, 249, 306, 76,
577 76, 76, 76, 76, 76, 76, 76, 79, 401, 76,
578
579 397, 76, 395, 76, 76, 264, 264, 264, 264, 261,
580 76, 76, 394, 274, 274, 274, 274, 76, 76, 76,
581 399, 393, 399, 277, 265, 295, 277, 392, 321, 388,
582 387, 297, 275, 400, 322, 400, 386, 385, 385, 385,
583 376, 76, 76, 88, 89, 90, 91, 89, 92, 93,
584 92, 94, 92, 92, 94, 92, 92, 92, 92, 92,
585 94, 92, 92, 92, 95, 95, 95, 95, 95, 92,
586 96, 92, 92, 92, 95, 95, 95, 95, 95, 95,
587 95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
588 95, 95, 95, 97, 92, 107, 375, 364, 363, 108,
589
590 361, 316, 316, 316, 316, 109, 110, 282, 360, 111,
591 309, 309, 309, 309, 359, 310, 357, 271, 356, 112,
592 317, 113, 355, 318, 318, 318, 318, 365, 319, 265,
593 365, 285, 285, 285, 285, 114, 354, 334, 335, 335,
594 334, 273, 275, 115, 116, 107, 348, 343, 342, 108,
595 286, 326, 326, 326, 326, 109, 110, 333, 366, 111,
596 328, 328, 328, 328, 330, 329, 325, 324, 323, 112,
597 327, 113, 288, 320, 315, 288, 314, 331, 307, 286,
598 313, 307, 312, 332, 311, 114, 336, 290, 291, 291,
599 290, 284, 185, 115, 116, 118, 308, 304, 303, 119,
600
601 302, 305, 305, 305, 305, 120, 121, 347, 300, 122,
602 299, 290, 291, 291, 290, 298, 185, 435, 241, 123,
603 306, 124, 449, 293, 294, 294, 293, 240, 241, 293,
604 294, 294, 293, 289, 241, 450, 292, 287, 316, 316,
605 316, 316, 284, 125, 126, 118, 283, 337, 282, 119,
606 337, 326, 326, 326, 326, 120, 121, 317, 279, 122,
607 292, 344, 344, 344, 344, 227, 345, 227, 477, 123,
608 327, 124, 295, 481, 435, 432, 339, 433, 295, 449,
609 306, 227, 278, 276, 273, 272, 482, 271, 155, 266,
610 263, 262, 450, 125, 126, 180, 181, 181, 180, 182,
611
612 183, 182, 184, 182, 182, 184, 182, 182, 182, 182,
613 182, 184, 182, 182, 182, 185, 185, 185, 185, 185,
614 182, 186, 182, 182, 182, 185, 185, 185, 185, 185,
615 185, 185, 185, 185, 185, 185, 185, 185, 185, 185,
616 185, 185, 185, 185, 187, 182, 188, 189, 189, 188,
617 188, 190, 188, 191, 188, 188, 191, 188, 188, 188,
618 188, 188, 191, 188, 188, 188, 189, 189, 189, 189,
619 189, 188, 192, 188, 188, 188, 189, 189, 189, 189,
620 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
621 189, 189, 189, 189, 189, 193, 188, 227, 261, 260,
622
623 227, 227, 228, 227, 229, 227, 227, 229, 227, 227,
624 227, 227, 230, 229, 227, 227, 227, 228, 228, 228,
625 228, 228, 227, 227, 227, 227, 227, 228, 228, 228,
626 228, 228, 228, 228, 228, 228, 228, 228, 228, 228,
627 228, 228, 228, 228, 228, 228, 227, 227, 247, 248,
628 248, 247, 247, 249, 247, 250, 247, 247, 250, 247,
629 247, 247, 247, 247, 250, 247, 247, 247, 248, 248,
630 248, 248, 248, 247, 251, 247, 247, 247, 248, 248,
631 248, 248, 248, 248, 248, 248, 248, 248, 248, 248,
632 248, 248, 248, 248, 248, 248, 248, 247, 247, 309,
633
634 309, 309, 309, 259, 310, 206, 255, 253, 241, 241,
635 241, 240, 177, 176, 174, 238, 237, 236, 265, 349,
636 350, 350, 349, 349, 351, 349, 352, 349, 349, 352,
637 349, 349, 349, 349, 349, 352, 349, 349, 349, 350,
638 350, 350, 350, 350, 349, 353, 349, 349, 349, 350,
639 350, 350, 350, 350, 350, 350, 350, 350, 350, 350,
640 350, 350, 350, 350, 350, 350, 350, 350, 349, 349,
641 358, 358, 358, 358, 235, 319, 318, 318, 318, 318,
642 234, 319, 362, 362, 362, 362, 233, 329, 232, 317,
643 231, 328, 328, 328, 328, 275, 329, 334, 335, 335,
644
645 334, 327, 334, 335, 335, 334, 341, 226, 225, 341,
646 286, 365, 365, 365, 365, 344, 344, 344, 344, 224,
647 345, 223, 367, 358, 358, 358, 358, 222, 319, 221,
648 365, 365, 365, 365, 306, 374, 451, 451, 451, 451,
649 339, 367, 317, 220, 219, 215, 336, 404, 404, 404,
650 404, 336, 365, 365, 365, 365, 362, 362, 362, 362,
651 370, 329, 214, 367, 213, 212, 405, 211, 368, 408,
652 408, 408, 408, 210, 209, 327, 208, 413, 207, 370,
653 413, 369, 206, 414, 204, 452, 387, 203, 409, 199,
654 411, 411, 411, 411, 413, 198, 197, 413, 195, 179,
655
656 414, 370, 371, 365, 365, 371, 419, 177, 393, 412,
657 416, 413, 176, 367, 413, 174, 173, 414, 368, 404,
658 404, 404, 404, 417, 172, 422, 422, 422, 422, 395,
659 423, 369, 171, 372, 170, 169, 168, 165, 405, 163,
660 414, 162, 161, 160, 405, 159, 158, 155, 154, 153,
661 152, 370, 377, 378, 378, 377, 377, 379, 377, 380,
662 377, 377, 380, 377, 377, 377, 377, 377, 380, 377,
663 377, 377, 378, 378, 378, 378, 378, 377, 381, 377,
664 377, 377, 378, 378, 378, 378, 378, 378, 378, 378,
665 378, 378, 378, 378, 378, 378, 378, 378, 378, 378,
666
667 378, 377, 377, 389, 389, 151, 389, 389, 389, 389,
668 150, 389, 149, 389, 148, 389, 389, 408, 408, 408,
669 408, 391, 389, 389, 420, 420, 420, 420, 147, 389,
670 389, 389, 425, 425, 425, 425, 409, 146, 428, 428,
671 428, 428, 145, 421, 144, 427, 427, 427, 427, 484,
672 319, 426, 484, 389, 389, 389, 389, 429, 389, 389,
673 389, 389, 484, 389, 409, 389, 484, 389, 389, 484,
674 484, 484, 401, 484, 389, 389, 411, 411, 411, 411,
675 407, 389, 389, 389, 484, 484, 410, 484, 430, 430,
676 430, 430, 484, 329, 413, 412, 484, 413, 484, 484,
677
678 414, 451, 451, 451, 451, 389, 389, 412, 413, 484,
679 416, 413, 367, 484, 414, 413, 484, 484, 413, 435,
680 432, 414, 433, 417, 436, 435, 484, 432, 484, 433,
681 436, 416, 484, 466, 484, 413, 466, 437, 413, 467,
682 484, 414, 484, 437, 417, 413, 484, 432, 413, 433,
683 452, 414, 420, 420, 420, 420, 435, 432, 484, 433,
684 484, 436, 472, 484, 419, 438, 438, 438, 438, 484,
685 439, 421, 484, 484, 437, 422, 422, 422, 422, 484,
686 423, 484, 484, 484, 421, 484, 484, 484, 484, 484,
687 484, 484, 484, 484, 405, 440, 441, 441, 440, 440,
688
689 442, 440, 443, 440, 440, 443, 440, 440, 440, 440,
690 440, 443, 440, 440, 440, 441, 441, 441, 441, 441,
691 440, 444, 440, 440, 440, 441, 441, 441, 441, 441,
692 441, 441, 441, 441, 441, 441, 441, 441, 441, 441,
693 441, 441, 441, 441, 440, 440, 425, 425, 425, 425,
694 446, 446, 446, 446, 484, 319, 427, 427, 427, 427,
695 484, 319, 484, 484, 484, 426, 484, 484, 484, 426,
696 428, 428, 428, 428, 484, 409, 447, 447, 447, 447,
697 484, 329, 430, 430, 430, 430, 484, 329, 484, 429,
698 484, 438, 438, 438, 438, 429, 439, 484, 484, 484,
699
700 484, 412, 484, 484, 484, 484, 484, 484, 484, 484,
701 421, 456, 457, 457, 456, 456, 458, 456, 459, 456,
702 456, 459, 456, 456, 456, 456, 456, 459, 456, 456,
703 456, 457, 457, 457, 457, 457, 456, 460, 456, 456,
704 456, 457, 457, 457, 457, 457, 457, 457, 457, 457,
705 457, 457, 457, 457, 457, 457, 457, 457, 457, 457,
706 456, 456, 463, 463, 484, 463, 463, 463, 463, 484,
707 463, 484, 463, 484, 463, 463, 484, 484, 484, 484,
708 465, 463, 463, 484, 484, 484, 484, 484, 463, 463,
709 463, 446, 446, 446, 446, 484, 319, 447, 447, 447,
710
711 447, 484, 329, 435, 484, 484, 484, 484, 449, 484,
712 426, 466, 463, 463, 466, 484, 429, 467, 484, 435,
713 432, 450, 433, 466, 449, 484, 466, 469, 484, 467,
714 477, 432, 484, 433, 484, 481, 484, 450, 484, 484,
715 470, 463, 463, 484, 463, 463, 463, 463, 482, 463,
716 484, 463, 467, 463, 463, 484, 466, 484, 484, 466,
717 463, 463, 467, 484, 484, 484, 484, 463, 463, 463,
718 484, 484, 469, 484, 466, 484, 484, 466, 484, 484,
719 467, 484, 484, 484, 484, 470, 432, 484, 433, 484,
720 469, 463, 463, 466, 484, 484, 466, 477, 484, 467,
721
722 484, 484, 478, 470, 477, 432, 484, 433, 484, 478,
723 484, 484, 484, 466, 484, 479, 466, 484, 484, 467,
724 484, 484, 479, 466, 484, 432, 466, 433, 484, 467,
725 484, 484, 484, 484, 477, 432, 484, 433, 484, 478,
726 477, 484, 472, 484, 484, 481, 477, 432, 484, 433,
727 484, 481, 479, 484, 484, 484, 484, 484, 482, 484,
728 484, 484, 484, 484, 482, 40, 40, 40, 40, 40,
729 40, 40, 40, 40, 40, 40, 55, 55, 55, 55,
730 55, 55, 55, 55, 55, 55, 55, 65, 65, 65,
731 65, 65, 65, 65, 65, 65, 65, 65, 78, 78,
732
733 78, 78, 78, 78, 78, 78, 78, 78, 78, 80,
734 80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
735 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
736 81, 98, 98, 98, 98, 98, 98, 98, 98, 98,
737 98, 98, 76, 76, 76, 76, 76, 76, 76, 76,
738 76, 76, 76, 106, 106, 106, 106, 106, 106, 106,
739 106, 106, 106, 106, 117, 117, 117, 117, 117, 117,
740 117, 117, 117, 117, 117, 127, 127, 127, 127, 127,
741 127, 127, 127, 127, 127, 127, 131, 131, 131, 131,
742 131, 131, 131, 131, 131, 131, 131, 135, 135, 135,
743
744 135, 135, 135, 135, 135, 135, 135, 135, 138, 138,
745 138, 138, 138, 138, 138, 138, 138, 138, 138, 141,
746 141, 141, 141, 141, 141, 141, 141, 141, 141, 141,
747 175, 175, 175, 484, 484, 175, 175, 178, 178, 178,
748 484, 484, 178, 178, 205, 205, 484, 205, 205, 205,
749 205, 205, 205, 205, 205, 239, 239, 484, 239, 239,
750 239, 239, 239, 239, 239, 239, 252, 252, 484, 252,
751 252, 252, 252, 252, 252, 252, 252, 254, 254, 484,
752 254, 254, 254, 254, 254, 254, 254, 254, 258, 258,
753 484, 258, 258, 258, 258, 258, 258, 258, 258, 269,
754
755 269, 484, 269, 269, 269, 269, 269, 269, 269, 269,
756 270, 270, 484, 270, 270, 270, 270, 270, 270, 270,
757 270, 280, 280, 484, 280, 280, 280, 280, 280, 280,
758 280, 280, 281, 281, 484, 281, 281, 281, 281, 281,
759 281, 281, 281, 338, 484, 484, 484, 484, 338, 346,
760 484, 484, 484, 484, 346, 366, 366, 366, 484, 484,
761 366, 366, 484, 484, 366, 373, 484, 484, 484, 484,
762 373, 382, 484, 484, 484, 382, 390, 390, 484, 390,
763 390, 390, 390, 390, 390, 390, 390, 398, 484, 484,
764 484, 398, 389, 389, 484, 389, 389, 389, 389, 389,
765
766 389, 389, 389, 415, 484, 484, 484, 415, 415, 484,
767 484, 484, 415, 418, 484, 484, 484, 418, 418, 431,
768 484, 484, 484, 431, 431, 434, 484, 484, 484, 434,
769 434, 434, 434, 434, 434, 448, 448, 448, 448, 448,
770 464, 464, 484, 464, 464, 464, 464, 464, 464, 464,
771 464, 468, 484, 484, 484, 468, 468, 484, 484, 484,
772 468, 471, 484, 484, 484, 471, 471, 463, 463, 484,
773 463, 463, 463, 463, 463, 463, 463, 463, 475, 484,
774 484, 484, 475, 475, 476, 484, 484, 484, 476, 476,
775 476, 476, 476, 476, 480, 480, 480, 480, 480, 39,
776
777 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
778 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
779 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
780 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
781 484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
782 484, 484
783 } ;

◆ yy_start

STATIC_VAR int yy_start = 0

Definition at line 241 of file libparse.cc.

◆ yyin

VAR FILE* yyin = (FILE *) 0

Definition at line 122 of file libparse.cc.

◆ yyleng

VAR int yyleng

Definition at line 121 of file libparse.cc.

◆ yylp_buffer_start

VAR char* yylp_buffer_start

Definition at line 1102 of file libparse.cc.

◆ yylp_errlist

const char* yylp_errlist[]
Initial value:
= {
"",
"missing close bracket ')' for proc definition in line %d.",
"missing close bracket ')' for procbody in line %d.",
"missing close bracket ']' for procbody in line %d.",
"too many ')' closed brackets in line %d.",
"too many ']' closed brackets in line %d.",
"missing close bracket ')' for example in line %d.",
"missing close bracket ']' for example in line %d.",
"cannot assign character '%c' in line %d to any group.",
"there must be a quote missing somewhere before line %d.",
"missing close bracket '}' at end of library in line %d.",
"missing close bracket ')' at end of library in line %d.",
"missing close bracket ']' at end of library in line %d.",
}

Definition at line 1114 of file libparse.cc.

1114 {
1115 "",
1116 "missing close bracket ')' for proc definition in line %d.", /* 1 */
1117 "missing close bracket ')' for procbody in line %d.", /* 2 */
1118 "missing close bracket ']' for procbody in line %d.", /* 3 */
1119 "too many ')' closed brackets in line %d.", /* 4 */
1120 "too many ']' closed brackets in line %d.", /* 5 */
1121 "missing close bracket ')' for example in line %d.", /* 6 */
1122 "missing close bracket ']' for example in line %d.", /* 7 */
1123 "cannot assign character '%c' in line %d to any group.", /* 8 */
1124 "there must be a quote missing somewhere before line %d.", /* 9 */
1125 "missing close bracket '}' at end of library in line %d.", /* 10 */
1126 "missing close bracket ')' at end of library in line %d.", /* 11 */
1127 "missing close bracket ']' at end of library in line %d.", /* 12 */
1128 NULL
1129};

◆ yylp_errno

VAR int yylp_errno = 0

Definition at line 1130 of file libparse.cc.

◆ yylplineno

VAR int yylplineno = 1

Definition at line 1104 of file libparse.cc.

◆ yyout

VAR FILE * yyout = (FILE *) 0

Definition at line 122 of file libparse.cc.

◆ yytext

VAR char* yytext

Definition at line 287 of file libparse.cc.