make_proper_t.c File Reference

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

Go to the source code of this file.

Defines

#define SXP_MAX   11

Functions

SXBOOLEAN sxprecovery (SXINT what_to_do, SXINT *at_state, SXINT latok_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)

Variables

static struct SXP_reductions reductions []
static struct SXP_bases t_bases []
static struct SXP_bases nt_bases []
static struct SXP_item vector []
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   11

Definition at line 22 of file make_proper_t.c.


Function Documentation

SXINT sxparser ( SXINT  what_to_do,
struct sxtables arg 
)

Definition at line 572 of file sxparser.c.

SXBOOLEAN sxprecovery ( SXINT  what_to_do,
SXINT *  at_state,
SXINT  latok_no 
)

Definition at line 1804 of file sxp_rcvr.c.

SXINT sxscan_it ( void   ) 

Definition at line 110 of file sxscanner.c.

Referenced by sxscanner().

SXINT sxscanner ( SXINT  what_to_do,
struct sxtables arg 
)

Definition at line 548 of file sxscanner.c.

SXBOOLEAN sxsrecovery ( SXINT  sxsrecovery_what,
SXINT  state_no,
unsigned char class 
)

Definition at line 595 of file sxs_rcvr.c.


Variable Documentation

abstract char[] = "%ld warnings and %ld errors are reported." [static]
char* err_titles[SXSEVERITIES] [static]
Initial value:
{
"\000",
"\001Warning:\t",
"\002Error:\t",
}

Definition at line 110 of file make_proper_t.c.

Referenced by error().

struct SXP_bases nt_bases[] [static]
Initial value:
{{0,0,0},
{-1, 0, 0},
{-5, -7, 1},
}

Definition at line 37 of file make_proper_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 96 of file make_proper_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 55 of file make_proper_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 44 of file make_proper_t.c.

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

Definition at line 92 of file make_proper_t.c.

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

Definition at line 94 of file make_proper_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 68 of file make_proper_t.c.

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

Definition at line 66 of file make_proper_t.c.

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

Definition at line 107 of file make_proper_t.c.

struct SXP_reductions reductions[] [static]
Initial value:
{{0,0,0,0},
{0, 2, 1, -5},
{1, 4, 0, 11},
{0, 0, 2, -7},
{0, 1, 1, -7},
}

Definition at line 25 of file make_proper_t.c.

char* S_adrp[] [static]
Initial value:
{0,
"%TERMINAL",
"End Of File",
}

Definition at line 182 of file make_proper_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,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,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,4,6,7,6,6,6,6,6,6,6,6,6,4,6,6,
6,8,8,8,8,8,8,8,8,6,6,6,4,9,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,4,10,4,6,6,6,
6,11,6,6,6,12,6,6,6,6,6,6,6,13,6,6,6,14,6,15,6,16,6,6,6,
6,4,6,4,6,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,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,}

Definition at line 118 of file make_proper_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 214 of file make_proper_t.c.

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

Definition at line 188 of file make_proper_t.c.

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

Definition at line 186 of file make_proper_t.c.

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

Definition at line 195 of file make_proper_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 190 of file make_proper_t.c.

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

Definition at line 210 of file make_proper_t.c.

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

Definition at line 212 of file make_proper_t.c.

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

Definition at line 200 of file make_proper_t.c.

SXSTMI* S_transition_matrix[] [static]
Initial value:
{NULL,
&SXS_transition[0],
&SXS_transition[16],
&SXS_transition[32],
&SXS_transition[48],
&SXS_transition[64],
&SXS_transition[80],
&SXS_transition[96],
&SXS_transition[112],
&SXS_transition[128],
&SXS_transition[144],
&SXS_transition[160],
}

Definition at line 159 of file make_proper_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 80 of file make_proper_t.c.

Referenced by ndp_recovery(), one_correction_message(), and recovery().

Initial value:
{{0,0,0,0,0},
{0x2c0a,10,0,1,0},
{0x2005,9,8,1,0},
{0x2005,9,12,1,0},
{0x2005,9,10,1,0},
{0x2005,9,13,1,0},
{0x2005,9,9,1,0},
{0x2005,9,11,1,0},
{0x2005,1,0,0,0},
}

Definition at line 172 of file make_proper_t.c.

Referenced by check(), current_model_no_processing(), look(), ndrcvr_one_scan(), sxndscan_it(), and sxscan_it().

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 205 of file make_proper_t.c.

SXSTMI SXS_transition[] [static]
Initial value:
{0,
0x0,0x4002,0x0,0x2402,0x2402,0x2c03,0x2404,0x2c03,0x2c03,0x2c03,0x2c03,0x2c03,
0x2c03,0x2c03,0x2c03,0x2c03,
0x0,0x4000,0x0,0x1402,0x1402,0x4000,0x4000,0x4000,0x4000,0x4000,0x4000,0x4000,
0x4000,0x4000,0x4000,0x4000,
0x0,0x0,0x0,0x4001,0x4001,0x1c03,0x0,0x1c03,0x1c03,0x1c03,0x1c03,0x1c03,
0x1c03,0x1c03,0x1c03,0x1c03,
0x0,0x0,0x2c05,0x2c05,0x0,0x2c05,0x0,0x2c05,0x2c05,0x2406,0x2c05,0x2c05,
0x2c05,0x2c05,0x2c05,0x2c05,
0x0,0x0,0x1c05,0x1c05,0x0,0x1c05,0x4401,0x1c05,0x1c05,0x2407,0x1c05,0x1c05,
0x1c05,0x1c05,0x1c05,0x1c05,
0x0,0x0,0x2c05,0x2c05,0x2408,0x2c05,0x2c05,0x9001,0x2c05,0x2c05,0x9402,0x9403,
0x9404,0x9405,0x9406,0x9407,
0x0,0x0,0x2c05,0x2c05,0x2409,0x2c05,0x2c05,0x9001,0x2c05,0x2c05,0x9402,0x9403,
0x9404,0x9405,0x9406,0x9407,
0x0,0x0,0x2c05,0x2c05,0x0,0x2c05,0x0,0x2c05,0x0,0x2406,0x2c05,0x2c05,
0x2c05,0x2c05,0x2c05,0x2c05,
0x0,0x0,0x2c05,0x2c05,0x0,0x2c05,0x4401,0x2c05,0x0,0x2407,0x2c05,0x2c05,
0x2c05,0x2c05,0x2c05,0x2c05,
0x0,0x0,0x9008,0x9008,0x0,0x9008,0x9008,0x2c0b,0x9008,0x9008,0x9008,0x9008,
0x9008,0x9008,0x9008,0x9008,
0x0,0x0,0x9008,0x9008,0x0,0x9008,0x9008,0x9c08,0x9008,0x9008,0x9008,0x9008,
0x9008,0x9008,0x9008,0x9008,
}

Definition at line 135 of file make_proper_t.c.

Definition at line 234 of file make_proper_t.c.

struct SXP_bases t_bases[] [static]
Initial value:
{{0,0,0},
{-4, 2, 1},
{0, 2, 1},
{0, -3, 2},
{0, 6, 2},
}

Definition at line 31 of file make_proper_t.c.

struct SXP_item vector[] [static]
Initial value:
{
{0, 0},
}

Definition at line 41 of file make_proper_t.c.


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