plan9port/src/cmd/eqn/mark.c

20 lines
297 B
C
Raw Normal View History

2004-05-15 23:24:00 +00:00
#include "e.h"
void mark(int p1)
{
markline = 1;
printf(".ds %d \\k(09\\*(%d\n", p1, p1);
yyval = p1;
dprintf(".\tmark %d\n", p1);
}
void lineup(int p1)
{
markline = 2;
if (p1 == 0) {
yyval = salloc();
2006-02-04 20:26:35 +00:00
printf(".ds %d \\h'|\\n(09u'\n", (int)yyval);
2004-05-15 23:24:00 +00:00
}
dprintf(".\tlineup %d\n", p1);
}