aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/m4
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-04-19 19:43:46 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-04-19 19:43:46 +0000
commit81153b6b63d2236145b8c0fffaa52fb42874b5a0 (patch)
tree824468915fcba5b9c608130aaf6fda3f4e79b387 /usr.bin/m4
parentc7e56d3248c48cf02b2c1af5293cf6c4c9f4b14b (diff)
Notes
Diffstat (limited to 'usr.bin/m4')
-rw-r--r--usr.bin/m4/mdef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/m4/mdef.h b/usr.bin/m4/mdef.h
index a886412012d8a..46ec643320ee7 100644
--- a/usr.bin/m4/mdef.h
+++ b/usr.bin/m4/mdef.h
@@ -170,7 +170,7 @@ struct input_file {
* pushf() - push a call frame entry onto stack
* pushs() - push a string pointer onto stack
*/
-#define gpbc() (bp > bufbase) ? (*--bp ? *bp : EOF) : \
+#define gpbc() (bp > bufbase) ? (*--bp ? (*bp & 0xFF) : EOF) : \
((chscratch = obtain_char(infile+ilevel)) == '\n' && \
++inlineno[ilevel], chscratch)
#define pushf(x) \