1: # include "e.h"
   2: # include "e.def"
   3: 
   4: funny(n) int n; {
   5:     char *f;
   6: 
   7:     yyval = oalloc();
   8:     switch(n) {
   9:     case SUM:
  10:         f = "\\(*S"; break;
  11:     case UNION:
  12:         f = "\\(cu"; break;
  13:     case INTER: /* intersection */
  14:         f = "\\(ca"; break;
  15:     case PROD:
  16:         f = "\\(*P"; break;
  17:     default:
  18:         error(FATAL, "funny type %d in funny", n);
  19:     }
  20:     printf(".ds %d \\s%d\\v'.3m'\\s+5%s\\s-5\\v'-.3m'\\s%d\n", yyval, ps, f, ps);
  21:     eht[yyval] = VERT( (ps+5)*6 -(ps*6*2)/10 );
  22:     ebase[yyval] = VERT( (ps*6*3)/10 );
  23:     if(dbg)printf(".\tfunny: S%d <- %s; h=%d b=%d\n",
  24:         yyval, f, eht[yyval], ebase[yyval]);
  25:     lfont[yyval] = rfont[yyval] = ROM;
  26: }

Defined functions

funny defined in line 4; used 4 times
Last modified: 1981-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 642
Valid CSS Valid XHTML 1.0 Strict