summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-02 20:46:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-02 20:46:41 +0000
commitc122d996195c4b01a7884fd5176b4d707ab135e4 (patch)
treed850bc43894ed520f514e6cffee6dc28aa835a30
parente051deab8d429d912fb8f1452d9ed708c462a1fe (diff)
no, the code is correct as it is, and you did the wrong thing based on a gcc warning
-rw-r--r--usr.bin/m4/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
index a8b83c3a663..9668a761e57 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.9 1998/06/02 15:05:02 mickey Exp $ */
+/* $OpenBSD: main.c,v 1.10 1998/06/02 20:46:40 deraadt Exp $ */
/* $NetBSD: main.c,v 1.12 1997/02/08 23:54:49 cgd Exp $ */
/*-
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.9 1998/06/02 15:05:02 mickey Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.10 1998/06/02 20:46:40 deraadt Exp $";
#endif
#endif /* not lint */
@@ -288,9 +288,9 @@ macro() {
cycle {
t = gpbc();
- s = token;
if (t == '_' || isalpha(t)) {
putback(t);
+ s = token;
if ((p = inspect(s)) == nil) {
if (sp < 0)
while (*s)