plan9port

[fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port # fast
git clone https://src.adamsgaard.dk/plan9port.git # slow
Log | Files | Refs | README | LICENSE Back to index

mark.c (297B)


      1 #include "e.h"
      2 
      3 void mark(int p1)
      4 {
      5 	markline = 1;
      6 	printf(".ds %d \\k(09\\*(%d\n", p1, p1);
      7 	yyval = p1;
      8 	dprintf(".\tmark %d\n", p1);
      9 }
     10 
     11 void lineup(int p1)
     12 {
     13 	markline = 2;
     14 	if (p1 == 0) {
     15 		yyval = salloc();
     16 		printf(".ds %d \\h'|\\n(09u'\n", (int)yyval);
     17 	}
     18 	dprintf(".\tlineup %d\n", p1);
     19 }