mirror of
https://github.com/rfivet/uemacs.git
synced 2024-11-18 02:26:06 -05:00
Move APROP and Token type out of estruct.
This commit is contained in:
parent
58642eb97f
commit
1de3e139bb
9
bind.h
9
bind.h
@ -3,15 +3,20 @@
|
|||||||
|
|
||||||
#include "edef.h"
|
#include "edef.h"
|
||||||
|
|
||||||
|
#define APROP 1 /* Add code for Apropos command */
|
||||||
|
|
||||||
|
#if APROP
|
||||||
|
int apro( int f, int n) ;
|
||||||
|
int strinc( char *source, char *sub) ;
|
||||||
|
#endif
|
||||||
|
|
||||||
int help( int f, int n) ;
|
int help( int f, int n) ;
|
||||||
int deskey( int f, int n) ;
|
int deskey( int f, int n) ;
|
||||||
int bindtokey( int f, int n) ;
|
int bindtokey( int f, int n) ;
|
||||||
int unbindkey( int f, int n) ;
|
int unbindkey( int f, int n) ;
|
||||||
int unbindchar( int c) ;
|
int unbindchar( int c) ;
|
||||||
int desbind( int f, int n) ;
|
int desbind( int f, int n) ;
|
||||||
int apro( int f, int n) ;
|
|
||||||
int buildlist( int type, char *mstring) ;
|
int buildlist( int type, char *mstring) ;
|
||||||
int strinc( char *source, char *sub) ;
|
|
||||||
unsigned int getckey( int mflag) ;
|
unsigned int getckey( int mflag) ;
|
||||||
int startup( char *sfname) ;
|
int startup( char *sfname) ;
|
||||||
void cmdstr( int c, char *seq) ;
|
void cmdstr( int c, char *seq) ;
|
||||||
|
16
estruct.h
16
estruct.h
@ -156,8 +156,8 @@
|
|||||||
#define ISRCH 1 /* Incremental searches like ITS EMACS */
|
#define ISRCH 1 /* Incremental searches like ITS EMACS */
|
||||||
#endif
|
#endif
|
||||||
#define WORDPRO 1 /* Advanced word processing features */
|
#define WORDPRO 1 /* Advanced word processing features */
|
||||||
#define APROP 1 /* Add code for Apropos command */
|
|
||||||
#if 0
|
#if 0
|
||||||
|
#define APROP 1 /* Add code for Apropos command */
|
||||||
#define CRYPT 1 /* file encryption enabled? */
|
#define CRYPT 1 /* file encryption enabled? */
|
||||||
#define MAGIC 1 /* include regular expression matching? */
|
#define MAGIC 1 /* include regular expression matching? */
|
||||||
#endif
|
#endif
|
||||||
@ -271,20 +271,6 @@
|
|||||||
|
|
||||||
#define INTWIDTH sizeof(int) * 3
|
#define INTWIDTH sizeof(int) * 3
|
||||||
|
|
||||||
/* Macro argument token types */
|
|
||||||
|
|
||||||
#define TKNUL 0 /* end-of-string */
|
|
||||||
#define TKARG 1 /* interactive argument */
|
|
||||||
#define TKBUF 2 /* buffer argument */
|
|
||||||
#define TKVAR 3 /* user variables */
|
|
||||||
#define TKENV 4 /* environment variables */
|
|
||||||
#define TKFUN 5 /* function.... */
|
|
||||||
#define TKDIR 6 /* directive */
|
|
||||||
#define TKLBL 7 /* line label */
|
|
||||||
#define TKLIT 8 /* numeric literal */
|
|
||||||
#define TKSTR 9 /* quoted string literal */
|
|
||||||
#define TKCMD 10 /* command name */
|
|
||||||
|
|
||||||
/* Internal defined functions */
|
/* Internal defined functions */
|
||||||
|
|
||||||
#define nextab(a) (a & ~tabmask) + (tabmask+1)
|
#define nextab(a) (a & ~tabmask) + (tabmask+1)
|
||||||
|
17
eval.h
17
eval.h
@ -1,6 +1,22 @@
|
|||||||
#ifndef _EVAL_H_
|
#ifndef _EVAL_H_
|
||||||
#define _EVAL_H_
|
#define _EVAL_H_
|
||||||
|
|
||||||
|
/* Macro argument token types */
|
||||||
|
|
||||||
|
#define TKNUL 0 /* end-of-string */
|
||||||
|
#define TKARG 1 /* interactive argument */
|
||||||
|
#define TKBUF 2 /* buffer argument */
|
||||||
|
#define TKVAR 3 /* user variables */
|
||||||
|
#define TKENV 4 /* environment variables */
|
||||||
|
#define TKFUN 5 /* function.... */
|
||||||
|
#define TKDIR 6 /* directive */
|
||||||
|
#define TKLBL 7 /* line label */
|
||||||
|
#define TKLIT 8 /* numeric literal */
|
||||||
|
#define TKSTR 9 /* quoted string literal */
|
||||||
|
#define TKCMD 10 /* command name */
|
||||||
|
|
||||||
|
int gettyp( char *token) ;
|
||||||
|
|
||||||
void varinit( void) ;
|
void varinit( void) ;
|
||||||
char *gtfun( char *fname) ;
|
char *gtfun( char *fname) ;
|
||||||
char *gtusr( char *vname) ;
|
char *gtusr( char *vname) ;
|
||||||
@ -8,7 +24,6 @@ char *gtenv( char *vname) ;
|
|||||||
char *getkill( void) ;
|
char *getkill( void) ;
|
||||||
int setvar( int f, int n) ;
|
int setvar( int f, int n) ;
|
||||||
char *itoa( int i) ;
|
char *itoa( int i) ;
|
||||||
int gettyp( char *token) ;
|
|
||||||
char *getval( char *token) ;
|
char *getval( char *token) ;
|
||||||
int stol( char *val) ;
|
int stol( char *val) ;
|
||||||
char *ltos( int val) ;
|
char *ltos( int val) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user