xref: /csrg-svn/old/eqn/common_source/mark.c (revision 48252)
1*48252Sbostic /*-
2*48252Sbostic  * Copyright (c) 1991 The Regents of the University of California.
3*48252Sbostic  * All rights reserved.
4*48252Sbostic  *
5*48252Sbostic  * %sccs.include.proprietary.c%
6*48252Sbostic  */
7*48252Sbostic 
814486Ssam #ifndef lint
9*48252Sbostic static char sccsid[] = "@(#)mark.c	4.3 (Berkeley) 04/17/91";
10*48252Sbostic #endif /* not lint */
1111010Sshannon 
1211010Sshannon #include "e.h"
1311010Sshannon 
mark(p1)1411010Sshannon mark(p1) int p1; {
1511010Sshannon 	markline = 1;
1611010Sshannon 	printf(".ds %d \\k(97\\*(%d\n", p1, p1);
1711010Sshannon 	yyval = p1;
1811010Sshannon 	if(dbg)printf(".\tmark %d\n", p1);
1911010Sshannon }
2011010Sshannon 
lineup(p1)2111010Sshannon lineup(p1) {
2211010Sshannon 	markline = 1;
2311010Sshannon 	if (p1 == 0) {
2411010Sshannon 		yyval = oalloc();
2511010Sshannon 		printf(".ds %d \\h'|\\n(97u'\n", yyval);
2611010Sshannon 	}
2711010Sshannon 	if(dbg)printf(".\tlineup %d\n", p1);
2811010Sshannon }
29