OpenAtom  Version1.5a
dictionary.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $Source$
3  * $Author$
4  * $Date$
5  * $Revision$
6  *****************************************************************************/
7 
8 /** \file dictionary.h
9  *
10  */
11 
12 #ifndef _Dictionary_
13 #define _Dictionary_
14 
15 #define PINY_MAXWORD 80
16 #define PINY_MAXLINE 100
17 
18 typedef char PINY_NAME[PINY_MAXWORD]; // Chr: a name; Lth: MAXWORD
19 typedef char PINY_LINE[PINY_MAXLINE]; // Chr: a line; Lth: MAXLINE
20 
21 typedef struct DICT_WORD{
22  int iflag,iuset,key_type; /* Opt: modifiers */
23  PINY_NAME keyword,keyarg; /* Chr: keyword and its arg */
24  PINY_LINE error_mes; /* Chr: keyword error mess */
25  DICT_WORD(){};
26  ~DICT_WORD(){};
27 }DICT_WORD;
28 
29 #endif