1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-09-26 07:04:00 -04:00

Limit visibility of token types to eval.

This commit is contained in:
2015-01-09 17:53:29 +08:00
parent 63776bb3f8
commit f8c405f501
3 changed files with 796 additions and 791 deletions

16
eval.h
View File

@@ -22,21 +22,7 @@ extern int flickcode ; /* do flicker supression? */
extern int rval ; /* return value of a subprocess */
extern long envram ; /* # of bytes current in use by malloc */
/* 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) ;
int is_it_cmd( char *token) ;
void varinit( void) ;
int setvar( int f, int n) ;