summaryrefslogtreecommitdiff
path: root/usr.bin/m4/eval.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-09-19 13:14:19 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-09-19 13:14:19 +0000
commitda231eb3fbafc2ed237757c0af027b53eae6cd27 (patch)
treef5fc7d0dea4bfbae908a892487a7225c80633898 /usr.bin/m4/eval.c
parentb9db33145250dcbd571b4fed4e5ef762283401d5 (diff)
inline some very common putback/chrsave. Worth roughly 10%
Diffstat (limited to 'usr.bin/m4/eval.c')
-rw-r--r--usr.bin/m4/eval.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c
index ade1fa997a0..868621d2d57 100644
--- a/usr.bin/m4/eval.c
+++ b/usr.bin/m4/eval.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eval.c,v 1.35 2001/09/18 14:55:52 espie Exp $ */
+/* $OpenBSD: eval.c,v 1.36 2001/09/19 13:14:18 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.35 2001/09/18 14:55:52 espie Exp $";
+static char rcsid[] = "$OpenBSD: eval.c,v 1.36 2001/09/19 13:14:18 espie Exp $";
#endif
#endif /* not lint */
@@ -493,7 +493,7 @@ expand_macro(argv, argc)
p--; /* last character of defn */
while (p > t) {
if (*(p - 1) != ARGFLAG)
- putback(*p);
+ PUTBACK(*p);
else {
switch (*p) {
@@ -532,8 +532,8 @@ expand_macro(argv, argc)
pbstr(lquote);
break;
default:
- putback(*p);
- putback('$');
+ PUTBACK(*p);
+ PUTBACK('$');
break;
}
p--;
@@ -541,7 +541,7 @@ expand_macro(argv, argc)
p--;
}
if (p == t) /* do last character */
- putback(*p);
+ PUTBACK(*p);
}
/*