Changeset 13477 for trunk/mgpp/text/mg_files.h
- Timestamp:
- 2006-12-11T11:22:20+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mgpp/text/mg_files.h
r3365 r13477 50 50 #define MAGIC_WGHT_APPROX GEN_MAGIC('M','G','w', 0 ) 51 51 #define MAGIC_PARAGRAPH GEN_MAGIC('M','G','P', 0 ) 52 /* [RPAP - Jan 97: Stem Index Change] */ 53 #define MAGIC_STEM_1 GEN_MAGIC('M','G','s','1') 54 #define MAGIC_STEM_2 GEN_MAGIC('M','G','s','2') 55 #define MAGIC_STEM_3 GEN_MAGIC('M','G','s','3') 56 52 #define MAGIC_STEM_GEN(x) GEN_MAGIC('M', 'G', 's', x) 57 53 #define IS_MAGIC(a) ((((u_long)(a)) & 0xffff0000) == MAGIC_XXXX) 58 54 … … 219 215 220 216 /* [RPAP - Jan 97: Stem Index Change] */ 217 /* [JFG - Mar 06: Accent folding patch] 218 * Use the pattern with make_suffix */ 221 219 /* The casefolded index into the stemmed dictionary */ 222 220 #ifdef SHORT_SUFFIX 223 # define INVF_DICT_BLOCKED_1_SUFFIX ".ib1" 224 #else 225 # define INVF_DICT_BLOCKED_1_SUFFIX ".invf.dict.blocked.1" 226 #endif 227 228 /* [RPAP - Jan 97: Stem Index Change] */ 229 /* The stemmed index into the stemmed dictionary */ 230 #ifdef SHORT_SUFFIX 231 # define INVF_DICT_BLOCKED_2_SUFFIX ".ib2" 232 #else 233 # define INVF_DICT_BLOCKED_2_SUFFIX ".invf.dict.blocked.2" 234 #endif 235 236 /* [RPAP - Jan 97: Stem Index Change] */ 237 /* The casefolded and stemmed index into the stemmed dictionary */ 238 #ifdef SHORT_SUFFIX 239 # define INVF_DICT_BLOCKED_3_SUFFIX ".ib3" 240 #else 241 # define INVF_DICT_BLOCKED_3_SUFFIX ".invf.dict.blocked.3" 242 #endif 221 # define INVF_DICT_BLOCKED_SUFFIX_PAT ".ib%d" 222 #else 223 # define INVF_DICT_BLOCKED_SUFFIX_PAT ".invf.dict.blocked.%d" 224 #endif 225 243 226 244 227 /* [RPAP - Feb 97: WIN32 Port] */ … … 264 247 char *make_name (const char *name, const char *suffix, char *buffer); 265 248 266 249 /* [JFG - Mar 06: Accent folding patch] */ 250 /* This generates the suffix of a file. It places the name in the buffer 251 specified or if that is NULL it uses a static buffer. */ 252 char *make_suffix (const char *suffix_format, const char suffix_arg, char *buffer); 267 253 268 254
Note:
See TracChangeset
for help on using the changeset viewer.