tdef_t.c File Reference

#include "sxunix.h"
#include "sxba.h"
Include dependency graph for tdef_t.c:

Go to the source code of this file.

Defines

#define SXP_MAX   19

Functions

SXBOOLEAN sxprecovery (SXINT what_to_do, SXINT *at_state, SXINT latok_no)
SXINT SCANACT (SXINT what, SXINT act_no)
SXINT sxscan_it (void)
SXBOOLEAN sxsrecovery (SXINT sxsrecovery_what, SXINT state_no, unsigned char *class)
SXINT sxscanner (SXINT what_to_do, struct sxtables *arg)
SXINT sxparser (SXINT what_to_do, struct sxtables *arg)
SXINT SEMACT (SXINT what, struct sxtables *arg)

Variables

static struct SXP_reductions reductions []
static struct SXP_bases t_bases []
static struct SXP_bases nt_bases []
static struct SXP_item vector []
static SXBA_ELT SXPBA_kt3 [2] = {9, 0X000001EE, }
static SXBA SXPBM_trans []
static SXINT P_lrgl []
static SXINT * P_lregle []
static SXINT P_right_ctxt_head []
static SXINT P_param_ref []
static struct SXP_local_mess SXP_local_mess []
static SXINT P_no_delete []
static SXINT P_no_insert []
static charP_global_mess []
static SXINT PER_tset []
static charerr_titles [SXSEVERITIES]
static abstract char [] = "%ld warnings and %ld errors are reported."
static unsigned char S_char_to_simple_class []
static SXSTMI SXS_transition []
static SXSTMI * S_transition_matrix []
static struct
SXS_action_or_prdct_code 
SXS_action_or_prdct_code []
static charS_adrp []
static SXINT S_is_a_keyword []
static SXINT S_is_a_generic_terminal []
static SXINT S_lrgl []
static SXINT * S_lregle []
static SXINT S_param_ref []
static struct SXS_local_mess SXS_local_mess []
static SXINT S_no_delete []
static SXINT S_no_insert []
static charS_global_mess []
struct sxtables sxtables

Define Documentation

#define SXP_MAX   19

Definition at line 22 of file tdef_t.c.


Function Documentation

SXINT SCANACT ( SXINT  what,
SXINT  act_no 
)
SXINT SEMACT ( SXINT  what,
struct sxtables arg 
)
SXINT sxparser ( SXINT  what_to_do,
struct sxtables arg 
)
SXBOOLEAN sxprecovery ( SXINT  what_to_do,
SXINT *  at_state,
SXINT  latok_no 
)

Definition at line 1804 of file sxp_rcvr.c.

References ARC_recovery(), lgt1, recovery(), SS_alloc(), sxba_calloc(), sxexit(), sxplocals, sxstderr, and SXTRUE.

SXINT sxscan_it ( void   ) 
SXINT sxscanner ( SXINT  what_to_do,
struct sxtables arg 
)
SXBOOLEAN sxsrecovery ( SXINT  sxsrecovery_what,
SXINT  state_no,
unsigned char class 
)

Definition at line 595 of file sxs_rcvr.c.

References recovery(), recovery_free(), sxexit(), sxstderr, and SXTRUE.


Variable Documentation

abstract char[] = "%ld warnings and %ld errors are reported." [static]

Definition at line 140 of file tdef_t.c.

char* err_titles[SXSEVERITIES] [static]
Initial value:
{
"\000",
"\001Warning:\t",
"\002Error:\t",
}

Definition at line 135 of file tdef_t.c.

struct SXP_bases nt_bases[] [static]
Initial value:
{{0,0,0},
{-1, 0, 0},
{-13, 0, 0},
{-9, -12, 1},
}

Definition at line 45 of file tdef_t.c.

char* P_global_mess[] [static]
Initial value:
{
"%s\"%s\" is expected",
"%s\"%s\", \"%s\" is expected",
"%s\"%s\", \"%s\", \"%s\" is expected",
"%s\"%s\", \"%s\", \"%s\", \"%s\" is expected",
"%s\"%s\", \"%s\", \"%s\", \"%s\", \"%s\" is expected",
"%sGlobal recovery.",
"%sParsing resumes on \"%s\"",
"End Of File",
"%sParsing stops on End Of File.",
}

Definition at line 121 of file tdef_t.c.

SXINT* P_lregle[] [static]
Initial value:
{NULL,
&P_lrgl[0],
&P_lrgl[8],
&P_lrgl[16],
&P_lrgl[24],
&P_lrgl[32],
&P_lrgl[40],
&P_lrgl[48],
&P_lrgl[56],
&P_lrgl[64],
}

Definition at line 80 of file tdef_t.c.

SXINT P_lrgl[] [static]
Initial value:
{
5,0,-1,1,2,3,0,0,
5,0,-1,2,3,4,0,0,
4,0,2,3,4,0,0,0,
7,0,-1,-1,1,2,3,4,
5,-1,0,1,2,3,0,0,
5,-1,1,2,3,4,0,0,
4,1,2,3,4,0,0,0,
4,-1,2,3,4,0,0,0,
5,-1,-1,1,2,3,0,0,
}

Definition at line 69 of file tdef_t.c.

SXINT P_no_delete[] [static]
Initial value:
{
0}

Definition at line 117 of file tdef_t.c.

SXINT P_no_insert[] [static]
Initial value:
{
0}

Definition at line 119 of file tdef_t.c.

SXINT P_param_ref[] [static]
Initial value:
{
-2,1,
1,-2,
1,
-2,-3,1,
-1,0,1,
0,1,-1,
0,1,
0,1,-1,
0,1,-1,-2,
-1,1,
}

Definition at line 93 of file tdef_t.c.

SXINT P_right_ctxt_head[] [static]
Initial value:
{0,
1,2,2,1,1,1,1,2,1,}

Definition at line 91 of file tdef_t.c.

SXINT PER_tset[] [static]
Initial value:
{
1,3}

Definition at line 132 of file tdef_t.c.

struct SXP_reductions reductions[] [static]
Initial value:
{{0,0,0,0},
{0, 2, 1, -9},
{0, 0, 2, -12},
{0, 1, 1, -12},
{0, 6, 0, -13},
{0, 8, 0, -13},
{0, 7, 0, -13},
{2, 5, 3, 19},
{1, 4, 3, 19},
}

Definition at line 25 of file tdef_t.c.

char* S_adrp[] [static]
Initial value:
{0,
"%T_NAME",
"=",
";",
"%NON_TERMINAL",
"%T_SYMB",
"End Of File",
}

Definition at line 250 of file tdef_t.c.

unsigned char S_char_to_simple_class[] [static]
Initial value:
{
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
3,3,3,3,3,3,3,3,3,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,3,3,3,3,3,3,3,3,3,4,5,4,4,3,3,3,3,3,3,3,3,3,
3,3,3,3,3,3,3,3,3,3,6,7,8,9,7,7,10,7,7,7,11,7,7,7,7,
7,12,12,12,12,12,12,12,12,13,13,7,14,15,16,17,7,10,18,18,18,18,18,18,18,
18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,7,19,7,7,20,7,
18,21,18,18,18,22,18,18,18,18,18,18,18,23,18,18,18,24,18,25,18,26,18,18,18,
18,7,7,7,10,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,7,}

Definition at line 143 of file tdef_t.c.

char* S_global_mess[] [static]
Initial value:
{0,
"%s\"%s\" is deleted.",
"%sThis unknown keyword is erased.",
"End Of Line",
"End Of File",
"%sScanning stops on End Of File.",
}

Definition at line 286 of file tdef_t.c.

SXINT S_is_a_generic_terminal[] [static]
Initial value:
{
3,1,4,5}

Definition at line 260 of file tdef_t.c.

SXINT S_is_a_keyword[] [static]
Initial value:
{
0}

Definition at line 258 of file tdef_t.c.

SXINT* S_lregle[] [static]
Initial value:
{NULL,
&S_lrgl[0],
&S_lrgl[6],
&S_lrgl[12],
}

Definition at line 267 of file tdef_t.c.

SXINT S_lrgl[] [static]
Initial value:
{
4,1,2,3,4,0,
5,-1,1,2,3,4,
5,-1,0,1,2,3,
}

Definition at line 262 of file tdef_t.c.

SXINT S_no_delete[] [static]
Initial value:
{
0}

Definition at line 282 of file tdef_t.c.

SXINT S_no_insert[] [static]
Initial value:
{
0}

Definition at line 284 of file tdef_t.c.

SXINT S_param_ref[] [static]
Initial value:
{
0,
0,-1,
-1,0,
}

Definition at line 272 of file tdef_t.c.

SXSTMI* S_transition_matrix[] [static]
Initial value:
{NULL,
&SXS_transition[0],
&SXS_transition[26],
&SXS_transition[52],
&SXS_transition[78],
&SXS_transition[104],
&SXS_transition[130],
&SXS_transition[156],
&SXS_transition[182],
&SXS_transition[208],
&SXS_transition[234],
&SXS_transition[260],
&SXS_transition[286],
&SXS_transition[312],
&SXS_transition[338],
&SXS_transition[364],
&SXS_transition[390],
&SXS_transition[416],
}

Definition at line 213 of file tdef_t.c.

struct SXP_local_mess SXP_local_mess[] [static]
Initial value:
{{0,NULL,NULL},
{2,"%s\"%s\" is inserted before \"%s\".",&P_param_ref[0]},
{2,"%s\"%s\" is replaced by \"%s\".",&P_param_ref[2]},
{1,"%s\"%s\" is deleted.",&P_param_ref[4]},
{3,"%s\"%s %s\" is inserted before \"%s\".",&P_param_ref[5]},
{3,"%s\"%s\" is inserted before \"%s %s\".",&P_param_ref[8]},
{3,"%s\"%s\" before \"%s\" is replaced by \"%s\".",&P_param_ref[11]},
{2,"%s\"%s\" before \"%s\" is deleted.",&P_param_ref[14]},
{3,"%s\"%s %s\" is replaced by \"%s\".",&P_param_ref[16]},
{4,"%s\"%s\" before \"%s\" is replaced by \"%s %s\".",&P_param_ref[19]},
{2,"%s\"%s\" is forced before \"%s\".",&P_param_ref[23]},
}

Definition at line 105 of file tdef_t.c.

SXBA_ELT SXPBA_kt3[2] = {9, 0X000001EE, } [static]

Definition at line 61 of file tdef_t.c.

SXBA SXPBM_trans[] [static]
Initial value:
{NULL,
&SXPBA_kt3[0],
}

Definition at line 66 of file tdef_t.c.

Initial value:
{{0,0,0,0,0},
{0x2409,1,0,1,1},
{0x2c03,0,0,1,1},
{0x4005,1,0,1,1},
{0x2c03,0,0,1,1},
{0x4002,1,0,1,1},
{0x2c03,0,0,1,1},
{0x4001,1,0,1,1},
{0x2c03,0,0,1,1},
{0x2c10,10,0,1,0},
{0x200a,9,8,1,0},
{0x200a,9,12,1,0},
{0x200a,9,10,1,0},
{0x200a,9,13,1,0},
{0x200a,9,9,1,0},
{0x200a,9,11,1,0},
{0x200a,1,0,0,0},
}

Definition at line 232 of file tdef_t.c.

struct SXS_local_mess SXS_local_mess[] [static]
Initial value:
{{0,NULL,NULL},
{1,"%sThe invalid character \"%s\" is deleted.",&S_param_ref[0]},
{2,"%sThe invalid character \"%s\" is replaced by \"%s\".",&S_param_ref[1]},
{2,"%sThe character \"%s\" is inserted before \"%s\".",&S_param_ref[3]},
}

Definition at line 277 of file tdef_t.c.

SXSTMI SXS_transition[] [static]

Definition at line 160 of file tdef_t.c.

Definition at line 306 of file tdef_t.c.

struct SXP_bases t_bases[] [static]
Initial value:
{{0,0,0},
{-3, 14, 1},
{0, 17, 0},
{0, 14, 1},
{0, -2, 6},
{0, 8, 3},
{0, 10, 2},
{0, 7, 3},
{0, 11, 6},
}

Definition at line 35 of file tdef_t.c.

struct SXP_item vector[] [static]
Initial value:
{
{1, 4},
{2, 5},
{0, 0},
{4, 15},
{5, 6},
{0, 0},
}

Definition at line 50 of file tdef_t.c.


Generated on Wed Apr 21 16:39:39 2010 for syntax-6.0b7 by  doxygen 1.6.1