sxdparser_ndt.c File Reference

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

Go to the source code of this file.

Defines

#define POP(t)   t[t[0]--]
#define PUSH(t, x)   ((++t[0]>t[-1]) ? (SXP_SHORT*) sxrealloc (t-1, (t[-1] *= 2)+2, sizeof(SXP_SHORT))+1 : 0),t[t[0]]=x

Functions

static SXP_SHORT sxP_access (struct SXP_bases *abase, SXP_SHORT j)
static SXVOID sxpsature (void)
static SXBOOLEAN la_recognizer (SXINT xps, SXINT tok_no, SXP_SHORT ref)
static SXBOOLEAN sxparse_it (void)
static error_message (void)
SXBOOLEAN sxdparser_ndt (SXINT what_to_do, struct sxtables *arg)

Variables

static char ME [] = "PARSER"
char WHAT_SXDPARSER_NDT [] = "@(#)SYNTAX - $Id: sxdparser_ndt.c 1416 2008-06-25 14:42:55Z rlacroix $" WHAT_DEBUG
static SXINT lgt1
static SXINT lgt2
static SXINT max_la_tok_no
static SXP_SHORT * la_ref_stack
SXINT nd_nb

Define Documentation

#define POP (  )     t[t[0]--]

Definition at line 54 of file sxdparser_ndt.c.

#define PUSH ( t,
 )     ((++t[0]>t[-1]) ? (SXP_SHORT*) sxrealloc (t-1, (t[-1] *= 2)+2, sizeof(SXP_SHORT))+1 : 0),t[t[0]]=x

Definition at line 55 of file sxdparser_ndt.c.


Function Documentation

static error_message ( void   )  [static]

Definition at line 493 of file sxdparser_ndt.c.

References sxerror(), and sxplocals.

Referenced by sxdparser_ndt().

static SXBOOLEAN la_recognizer ( SXINT  xps,
SXINT  tok_no,
SXP_SHORT  ref 
) [static]
SXBOOLEAN sxdparser_ndt ( SXINT  what_to_do,
struct sxtables arg 
)
static SXP_SHORT sxP_access ( struct SXP_bases *  abase,
SXP_SHORT  j 
) [static]
static SXBOOLEAN sxparse_it ( void   )  [static]
static SXVOID sxpsature ( void   )  [static]

Definition at line 98 of file sxdparser_ndt.c.

References lgt1.

Referenced by la_recognizer(), sxdparser_ndt(), and sxparse_it().


Variable Documentation

SXP_SHORT* la_ref_stack [static]

Definition at line 48 of file sxdparser_ndt.c.

Referenced by la_recognizer(), sxdparser_ndt(), and sxparse_it().

SXINT lgt1 [static]

Definition at line 47 of file sxdparser_ndt.c.

Referenced by la_recognizer(), sxdparser_ndt(), sxparse_it(), and sxpsature().

SXINT lgt2 [static]

Definition at line 47 of file sxdparser_ndt.c.

Referenced by sxdparser_ndt().

SXINT max_la_tok_no [static]

Definition at line 47 of file sxdparser_ndt.c.

Referenced by la_recognizer(), and sxparse_it().

char ME[] = "PARSER" [static]

Definition at line 34 of file sxdparser_ndt.c.

Referenced by sxdparser_ndt().

SXINT nd_nb

Definition at line 51 of file sxdparser_ndt.c.

Referenced by la_recognizer(), sxdparser_ndt(), and sxparse_it().

char WHAT_SXDPARSER_NDT[] = "@(#)SYNTAX - $Id: sxdparser_ndt.c 1416 2008-06-25 14:42:55Z rlacroix $" WHAT_DEBUG

Definition at line 39 of file sxdparser_ndt.c.


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