tldm-universe/Ardent/UV/gcidir/include/cdict.h

76 lines
2.0 KiB
C
Raw Permalink Normal View History

2024-09-09 21:51:08 +00:00
#ifndef h_cdict
#define h_cdict
/******************************************************************************
*
* UniVerse Dictionary compiler declarations
*
* Module %M% Version %I% Date %H%
*
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
* This is unpublished proprietary source code of Ardent Software Inc.
* The copyright notice above does not evidence any actual or intented
* publication of such source code.
*
*******************************************************************************
*
* Maintenence log - insert most recent change descriptions at top
*
* Date.... GTAR# WHO Description.........................................
* 10/14/98 23801 SAP Change copyrights.
* 12/11/89 6600 KIS Changed yytext from char array to char pointer
* 07/25/88 - - Maintenence log purged at 5.2.1, see release 5.1.10.
*
*****************************************************************************/
#include "DBFILE.h"
EXTERN struct fundef { char name[32]; short min,max,opt,opcode;} funct[];
EXTERN struct lexsave { uchar *beg, *cur; int len; STRING key;} lstk[];
EXTERN struct wrddef { char name[32]; short lexeme;} word[];
EXTERN struct symdef *symbol,init_symbol[];
EXTERN STRING equstr[];
#define SYMMAX 28
#define EQUMAX 19
#define TSTKSIZ 20
#define FUNMAX 83
#define WRDMAX 13
#define ANS 24
#define EQU 1
#define VAR 2
#define RECORD 15
#define ID 16
/*
these two are the offsets to these symbols in the init_symbol table
*/
#define sym_REC 30
#define sym_ID 31
#define SHRTSZE sizeof(ushort)
EXTERN YYSTYPE yylval;
EXTERN TREE *rootnode;
EXTERN int *DOMbase;
EXTERN int totcnt,dynstate,dynflag,lexstate;
EXTERN DBFILE *VOC,*DICT,*MDICT,Tstk[];
EXTERN int Tptr,Lstk[],Lptr;
EXTERN STRING dname;
EXTERN int lptr;
EXTERN uchar *yytext;
EXTERN double tfp;
EXTERN int pc,len,expcnt,strsiz;
EXTERN uchar *cur,*beg;
EXTERN STRING key;
EXTERN ushort *obj,*objp;
EXTERN int size,sizeo;
EXTERN int SYMnum,FUNnum,WRDnum;
#endif /* end of cdict.h */