mirror of
https://github.com/rfivet/uemacs.git
synced 2024-11-19 02:56:08 -05:00
reduce visibility of directive name variable (dname[]).
This commit is contained in:
parent
9da83ebffb
commit
5ee997b695
2
edef.h
2
edef.h
@ -115,8 +115,6 @@ extern char *patmatch;
|
||||
extern struct line *matchline;
|
||||
extern int matchoff;
|
||||
|
||||
extern char *dname[]; /* Directive name table. */
|
||||
|
||||
#if DEBUGM
|
||||
/* Vars needed for macro debugging output. */
|
||||
extern char outline[]; /* Global string to hold debug line text. */
|
||||
|
10
exec.c
10
exec.c
@ -22,6 +22,16 @@
|
||||
#include "input.h"
|
||||
#include "line.h"
|
||||
|
||||
/* directive name table:
|
||||
This holds the names of all the directives.... */
|
||||
|
||||
static const char *dname[] = {
|
||||
"if", "else", "endif",
|
||||
"goto", "return", "endm",
|
||||
"while", "endwhile", "break",
|
||||
"force"
|
||||
};
|
||||
|
||||
/*
|
||||
* Execute a named command even if it is not bound.
|
||||
*/
|
||||
|
10
globals.c
10
globals.c
@ -119,16 +119,6 @@ char *patmatch = NULL;
|
||||
struct line *matchline = NULL;
|
||||
int matchoff = 0;
|
||||
|
||||
/* directive name table:
|
||||
This holds the names of all the directives.... */
|
||||
|
||||
char *dname[] = {
|
||||
"if", "else", "endif",
|
||||
"goto", "return", "endm",
|
||||
"while", "endwhile", "break",
|
||||
"force"
|
||||
};
|
||||
|
||||
#if DEBUGM
|
||||
/* vars needed for macro debugging output */
|
||||
char outline[NSTRING]; /* global string to hold debug line text */
|
||||
|
Loading…
Reference in New Issue
Block a user