projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setexit -> setjmp, reset -> longjmp, isdir() -> S_ISDIR, ANSI
[unix-history]
/
usr
/
src
/
bin
/
csh
/
init.c
diff --git
a/usr/src/bin/csh/init.c
b/usr/src/bin/csh/init.c
index
4fa1b29
..
02cef44
100644
(file)
--- a/
usr/src/bin/csh/init.c
+++ b/
usr/src/bin/csh/init.c
@@
-5,7
+5,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char *sccsid = "@(#)init.c 5.
5
(Berkeley) %G%";
+static char *sccsid = "@(#)init.c 5.
6
(Berkeley) %G%";
#endif
#include "sh.h"
#endif
#include "sh.h"
@@
-137,23
+137,23
@@
struct biltins bfunc[] = {
int nbfunc = sizeof bfunc / sizeof *bfunc;
struct srch srchn[] = {
int nbfunc = sizeof bfunc / sizeof *bfunc;
struct srch srchn[] = {
- "@",
Z
LET,
- "break",
Z
BREAK,
- "breaksw",
Z
BRKSW,
- "case",
Z
CASE,
- "default",
Z
DEFAULT,
- "else",
Z
ELSE,
- "end",
Z
END,
- "endif",
Z
ENDIF,
- "endsw",
Z
ENDSW,
- "exit",
Z
EXIT,
- "foreach",
Z
FOREACH,
- "goto",
Z
GOTO,
- "if",
Z
IF,
- "label",
Z
LABEL,
- "set",
Z
SET,
- "switch",
Z
SWITCH,
- "while",
Z
WHILE,
+ "@",
T_
LET,
+ "break",
T_
BREAK,
+ "breaksw",
T_
BRKSW,
+ "case",
T_
CASE,
+ "default",
T_
DEFAULT,
+ "else",
T_
ELSE,
+ "end",
T_
END,
+ "endif",
T_
ENDIF,
+ "endsw",
T_
ENDSW,
+ "exit",
T_
EXIT,
+ "foreach",
T_
FOREACH,
+ "goto",
T_
GOTO,
+ "if",
T_
IF,
+ "label",
T_
LABEL,
+ "set",
T_
SET,
+ "switch",
T_
SWITCH,
+ "while",
T_
WHILE,
};
int nsrchn = sizeof srchn / sizeof *srchn;
};
int nsrchn = sizeof srchn / sizeof *srchn;