summaryrefslogtreecommitdiff
path: root/usr.bin/m4/eval.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-07-24 23:08:26 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-07-24 23:08:26 +0000
commit76eb85ca193732f350422389bad4b476520bc8bc (patch)
tree23cac7523a298161f94d6a2ecd0ce330f92ba7f6 /usr.bin/m4/eval.c
parent694bcd4b04b8f3bd12b98ce20e309dbe46fe9912 (diff)
Implement esyscmd
Diffstat (limited to 'usr.bin/m4/eval.c')
-rw-r--r--usr.bin/m4/eval.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c
index ed8d15a4e04..c5fb8231935 100644
--- a/usr.bin/m4/eval.c
+++ b/usr.bin/m4/eval.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eval.c,v 1.26 2000/03/18 01:06:55 espie Exp $ */
+/* $OpenBSD: eval.c,v 1.27 2000/07/24 23:08:24 espie Exp $ */
/* $NetBSD: eval.c,v 1.7 1996/11/10 21:21:29 pk Exp $ */
/*
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)eval.c 8.2 (Berkeley) 4/27/95";
#else
-static char rcsid[] = "$OpenBSD: eval.c,v 1.26 2000/03/18 01:06:55 espie Exp $";
+static char rcsid[] = "$OpenBSD: eval.c,v 1.27 2000/07/24 23:08:24 espie Exp $";
#endif
#endif /* not lint */
@@ -210,6 +210,10 @@ eval(argv, argc, td)
pbnum(sysval);
break;
+ case ESYSCMDTYPE:
+ if (argc > 2)
+ doesyscmd(argv[2]);
+ break;
case INCLTYPE:
if (argc > 2)
if (!doincl(argv[2]))