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
further updates from Chris Torek
[unix-history]
/
usr
/
src
/
usr.bin
/
indent
/
indent.c
diff --git
a/usr/src/usr.bin/indent/indent.c
b/usr/src/usr.bin/indent/indent.c
index
a089507
..
5a126f1
100644
(file)
--- a/
usr/src/usr.bin/indent/indent.c
+++ b/
usr/src/usr.bin/indent/indent.c
@@
-11,7
+11,7
@@
char copyright[] =
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)indent.c 5.
3
(Berkeley) %G%";
+static char sccsid[] = "@(#)indent.c 5.
4
(Berkeley) %G%";
#endif not lint
/*-
#endif not lint
/*-
@@
-576,6
+576,9
@@
check_type:
else if (token[1] == 0)
res = "\\(br";
break;
else if (token[1] == 0)
res = "\\(br";
break;
+ case '-':
+ if (token[1] == '>')
+ res = "\\(->";
}
for (t_ptr = res; *t_ptr; ++t_ptr)
*e_code++ = *t_ptr; /* move the operator */
}
for (t_ptr = res; *t_ptr; ++t_ptr)
*e_code++ = *t_ptr; /* move the operator */