1: #include "ne.h"
   2: 
   3: int markpos;
   4: 
   5: mark(n) int n; {
   6:     if( n )
   7:         markpos = ewid[n];
   8:     else {
   9:         yyval = oalloc();
  10:         printf(".ds %d \"\n", yyval);
  11:         ebase[yyval] = ewid[yyval] = markpos = 0;
  12:         eht[yyval] = 2;
  13:     }
  14:     if(dbg)printf(".\tmark %d as %d\n", n, markpos);
  15: }
  16: 
  17: lineup(n) int n; {
  18:     if( n ) {
  19:         printf(".ds %d \"", n);
  20:         fwd(markpos-ewid[n]);
  21:         printf("\\*(%d\n", n);
  22:         ewid[n] = markpos;
  23:     }
  24:     else {
  25:         yyval = oalloc();
  26:         printf(".ds %d \"", yyval);
  27:         fwd(markpos);
  28:         printf("\n");
  29:         ebase[yyval] = 0;
  30:         eht[yyval] = 2;
  31:         ewid[yyval] = markpos;
  32:     }
  33:     if(dbg)printf(".\tlineup %d at %d\n", n, markpos);
  34: }

Defined functions

lineup defined in line 17; used 2 times
mark defined in line 5; used 2 times

Defined variables

markpos defined in line 3; used 8 times
Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 574
Valid CSS Valid XHTML 1.0 Strict