|
|
1.1 root 1: # include "e.h"
2: # include "e.def"
3:
4: funny(n)
5: int n;
6: {
7: char *f;
8:
9: yyval = salloc();
10: switch(n) {
11: case SUM:
12: f = "\\(*S"; break;
13: case UNION:
14: f = "\\(cu"; break;
15: case INTER: /* intersection */
16: f = "\\(ca"; break;
17: case PROD:
18: f = "\\(*P"; break;
19: default:
20: error(FATAL, "funny type %d in funny", n);
21: }
22: printf(".ds %d \\v'.3m'\\s+5%s\\s-5\\v'-.3m'\n", yyval, f);
23: eht[yyval] = EM(1.0, ps+5) - EM(0.2, ps);
24: ebase[yyval] = EM(0.3, ps);
25: eps[yyval] = ps;
26: dprintf(".\tS%d <- %s; h=%g b=%g\n",
27: yyval, f, eht[yyval], ebase[yyval]);
28: lfont[yyval] = rfont[yyval] = ROM;
29: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.