sxs_rcvr.c File Reference

#include "sxversion.h"
#include "sxunix.h"
#include "sxsstmt.h"
Include dependency graph for sxs_rcvr.c:

Go to the source code of this file.

Defines

#define WHAT_DEBUG
#define char_to_class(c)   (sxsvar.SXS_tables.S_char_to_simple_class[c])

Functions

static SXVOID allouer_correction (void)
static SXBOOLEAN is_insertable (SXINT class_no, SXINT *rank)
static SXBOOLEAN check (SXINT state_no, SXINT class_of_X, SXINT *model, SXBOOLEAN is_la)
static SXBOOLEAN is_valid (SXINT state_no, struct SXS_correction_item *current, SXBOOLEAN *is_validated, SXBOOLEAN is_la)
static SXVOID tryacorr (SXINT state_no, SXBOOLEAN is_la, struct SXS_correction_item *best)
static SXBOOLEAN recovery (SXINT state_no, unsigned char *class)
static SXVOID recovery_free (void)
SXBOOLEAN sxsrecovery (SXINT sxsrecovery_what, SXINT state_no, unsigned char *class)

Variables

char WHAT_SXS_RECOVERY32 [] = "@(#)SYNTAX - $Id: sxs_rcvr.c 1593 2008-09-22 12:10:09Z syntax $ SXS_RCVR_32" WHAT_DEBUG
static SXINT * source_classes
static SXINT * ranks
static SXSHORT * source_char
static SXBA insertable_valid_class_set
static SXBA non_insertable_valid_class_set
static SXINT nmax = 0
static SXINT last_simple_class_no = 0
static struct SXS_correction_item empty_SXS_correction_item

Define Documentation

#define char_to_class (  )     (sxsvar.SXS_tables.S_char_to_simple_class[c])

Definition at line 52 of file sxs_rcvr.c.

#define WHAT_DEBUG

Definition at line 34 of file sxs_rcvr.c.


Function Documentation

static SXVOID allouer_correction ( void   )  [static]
static SXBOOLEAN check ( SXINT  state_no,
SXINT  class_of_X,
SXINT *  model,
SXBOOLEAN  is_la 
) [static]
static SXBOOLEAN is_insertable ( SXINT  class_no,
SXINT *  rank 
) [static]

Definition at line 91 of file sxs_rcvr.c.

References char_to_class, SXFALSE, sxgetbit(), sxsvar, and SXTRUE.

Referenced by is_valid().

static SXBOOLEAN is_valid ( SXINT  state_no,
struct SXS_correction_item *  current,
SXBOOLEAN *  is_validated,
SXBOOLEAN  is_la 
) [static]
static SXBOOLEAN recovery ( SXINT  state_no,
unsigned char class 
) [static]
static SXVOID recovery_free ( void   )  [static]
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.

static SXVOID tryacorr ( SXINT  state_no,
SXBOOLEAN  is_la,
struct SXS_correction_item *  best 
) [static]

Variable Documentation

struct SXS_correction_item empty_SXS_correction_item [static]

Definition at line 365 of file sxs_rcvr.c.

Referenced by tryacorr().

Definition at line 46 of file sxs_rcvr.c.

Referenced by allouer_correction(), is_valid(), and recovery_free().

SXINT last_simple_class_no = 0 [static]

Definition at line 47 of file sxs_rcvr.c.

Referenced by allouer_correction(), and recovery_free().

SXINT nmax = 0 [static]

Definition at line 47 of file sxs_rcvr.c.

Referenced by allouer_correction(), and recovery_free().

Definition at line 46 of file sxs_rcvr.c.

Referenced by allouer_correction(), is_valid(), and recovery_free().

SXINT * ranks [static]

Definition at line 44 of file sxs_rcvr.c.

Referenced by allouer_correction(), is_valid(), and recovery_free().

SXSHORT* source_char [static]

Definition at line 45 of file sxs_rcvr.c.

Referenced by allouer_correction(), check(), FSA_walk(), is_valid(), recovery(), recovery_free(), and tryacorr().

SXINT* source_classes [static]

Definition at line 44 of file sxs_rcvr.c.

Referenced by allouer_correction(), check(), recovery(), recovery_free(), and tryacorr().

char WHAT_SXS_RECOVERY32[] = "@(#)SYNTAX - $Id: sxs_rcvr.c 1593 2008-09-22 12:10:09Z syntax $ SXS_RCVR_32" WHAT_DEBUG

Definition at line 40 of file sxs_rcvr.c.


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