BSD 3 development
[unix-history] / usr / src / cmd / pcc / diffs.old.to.n
CommitLineData
f51d32e2
BJ
1diff /usr/dist3/src/cmd/pcc/code.c ./code.c
2158a159,161
3> #ifdef STABDOT
4> pstabdot(N_SLINE, lineno);
5> #else
6161a165
7> #endif
8242a247,260
9> #ifdef ASSTRINGS
10> i &= 077;
11> if ( t < 0 ){
12> if ( i != 0 ) printf( "\"\n" );
13> } else {
14> if ( i == 0 ) printf("\t.ascii\t\"");
15> if ( t == '"' )
16> printf("\\\"");
17> else if ( t < 040 || t >= 0177 )
18> printf( "\\%o",t);
19> else putchar(t);
20> if ( i == 077 ) printf("\"\n");
21> }
22> #else
23253a272
24> #endif
25Files /usr/dist3/src/cmd/pcc/fort and ./fort differ
26diff /usr/dist3/src/cmd/pcc/local.c ./local.c
27402c402,403
28< int type; {
29---
30> int type;
31> {
32405a407,413
33> #ifdef ASSTRINGS
34> if ( name[0] == '\0')
35> printf("\t.stabn\t");
36> else
37> printf("\t.stabs\t\"%.8s\", ", name);
38> #else
39>
40409a418
41> #endif
42412a422,432
43> #ifdef STABDOT
44> pstabdot(type, value)
45> int type;
46> int value;
47> {
48> if ( ! gdebug) return;
49> printf("\t.stabd\t");
50> printf("0%o,0,0%o\n",type, value);
51> }
52> #endif
53>
54448a469,476
55> /*
56> * We use the old style stab to introduce the
57> * name of the file. This is the only place
58> * where we could use a stab, with the last
59> * expression the '.', but this is also the only
60> * place where the first argument to the stab is
61> * a string (namely the name of the file).
62> */
63458a487,489
64> #ifdef STABDOT
65> pstabdot(N_SLINE, lineno);
66> #else
67461a493
68> #endif
69466a499,501
70> #ifdef STABDOT
71> pstabdot(N_LBRAC, level);
72> #else
73469a505
74> #endif
75473a510,512
76> #ifdef STABDOT
77> pstabdot(N_RBRAC, level);
78> #else
79476a516
80> #endif
81diff /usr/dist3/src/cmd/pcc/makefile ./makefile
823c3,8
83< CFLAGS=-O
84---
85> #
86> # ASSTRINGS The assembler can handle .ascii and .asciz
87> # STABDOT The assembler can handle .stabd
88> # ABORTCODE The assembler can handle .ABORT intelligently
89> #
90> CFLAGS=-O -DASSTRINGS -DSTABDOT -DABORTCODE
9126c31
92< :rofix rodata.s
93---
94> sh ./:rofix rodata.s
9532c37
96< :yyfix yyexca yyact yypact yypgo yyr1 yyr2 yychk yydef
97---
98> sh ./:yyfix yyexca yyact yypact yypgo yyr1 yyr2 yychk yydef
9938c43
100< :rofix table.s
101---
102> sh ./:rofix table.s
10370c75
104< :rofix ftable.s
105---
106> sh ./:rofix ftable.s
107diff /usr/dist3/src/cmd/pcc/table.c ./table.c
108312c312
109< ASSIGN, INAREG|FOREFF,
110---
111> ASSIGN, INAREG|FOREFF|FORCC,
112315c315
113< 0, RRIGHT,
114---
115> 0, RRIGHT|RESCC,