xref: /original-bsd/old/eqn/common_source/mark.c (revision 1b4ef7de)
1 /*-
2  * Copyright (c) 1991 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)mark.c	4.3 (Berkeley) 04/17/91";
10 #endif /* not lint */
11 
12 #include "e.h"
13 
14 mark(p1) int p1; {
15 	markline = 1;
16 	printf(".ds %d \\k(97\\*(%d\n", p1, p1);
17 	yyval = p1;
18 	if(dbg)printf(".\tmark %d\n", p1);
19 }
20 
21 lineup(p1) {
22 	markline = 1;
23 	if (p1 == 0) {
24 		yyval = oalloc();
25 		printf(".ds %d \\h'|\\n(97u'\n", yyval);
26 	}
27 	if(dbg)printf(".\tlineup %d\n", p1);
28 }
29