xref: /titanic_44/usr/src/cmd/eqn/mark.c (revision b7f45089ccbe01bab3d7c7377b49d80d2ae18a69)
1 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
2 /*	  All Rights Reserved  	*/
3 
4 
5 /*
6  * Copyright (c) 1980 Regents of the University of California.
7  * All rights reserved. The Berkeley software License Agreement
8  * specifies the terms and conditions for redistribution.
9  */
10 
11 /*
12  * Copyright (c) 1983, 1984 1985, 1986, 1987, 1988, Sun Microsystems, Inc.
13  * All Rights Reserved.
14  */
15 
16 #ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.1	*/
17 
18 #include "e.h"
19 
20 mark(p1) int p1; {
21 	markline = 1;
22 	printf(".ds %d \\k(97\\*(%d\n", p1, p1);
23 	yyval = p1;
24 	if(dbg)printf(".\tmark %d\n", p1);
25 }
26 
27 lineup(p1) {
28 	markline = 1;
29 	if (p1 == 0) {
30 		yyval = oalloc();
31 		printf(".ds %d \\h'|\\n(97u'\n", yyval);
32 	}
33 	if(dbg)printf(".\tlineup %d\n", p1);
34 }
35