SCCS-vsn: usr.bin/pascal/pxp/fdec.c 5.2
SCCS-vsn: usr.bin/pascal/pxp/main.c 5.2
SCCS-vsn: usr.bin/pascal/pxp/pp.c 5.2
SCCS-vsn: usr.bin/pascal/pxp/yycomm.c 5.2
SCCS-vsn: usr.bin/pascal/pxp/yyput.c 5.2
-static char sccsid[] = "@(#)fdec.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)fdec.c 5.2 (Berkeley) %G%";
register **rl, *il;
if (inpflist(r[2])) {
register **rl, *il;
if (inpflist(r[2])) {
- optstk['z'-'a'] =<< 1;
- optstk['z'-'a'] =| opts['z'-'a'];
+ optstk['z'-'a'] <<= 1;
+ optstk['z'-'a'] |= opts['z'-'a'];
opts['z'-'a'] = 1;
}
cbn++;
opts['z'-'a'] = 1;
}
cbn++;
ppgoout(PRFN);
if (inpflist(fp)) {
opts['z'-'a'] = optstk['z'-'a'] & 1;
ppgoout(PRFN);
if (inpflist(fp)) {
opts['z'-'a'] = optstk['z'-'a'] & 1;
}
if (cbn == 0) {
flushcm();
}
if (cbn == 0) {
flushcm();
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)main.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 5.2 (Berkeley) %G%";
register c;
if (argv[0][0] == 'a')
register c;
if (argv[0][0] == 'a')
argc--, argv++;
if (argc == 0) {
execl("/bin/cat", "cat", howfile, 0);
argc--, argv++;
if (argc == 0) {
execl("/bin/cat", "cat", howfile, 0);
cp = (stdoutn = "/tmp/pxp00000") + 13;
signal(2, onintr);
cp = (stdoutn = "/tmp/pxp00000") + 13;
signal(2, onintr);
- for (c = getpid(); c; c =/ 10)
- *--cp =| (c % 10);
+ for (c = getpid(); c; c /= 10)
+ *--cp |= (c % 10);
if (freopen(stdoutn, "w", stdout) == NULL)
bad:
perror(stdoutn), exit(1);
if (freopen(stdoutn, "w", stdout) == NULL)
bad:
perror(stdoutn), exit(1);
-static char sccsid[] = "@(#)pp.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)pp.c 5.2 (Berkeley) %G%";
flush();
break;
case '\t':
flush();
break;
case '\t':
- outcol =+ 8;
- outcol =& ~07;
+ outcol += 8;
+ outcol &= ~07;
break;
case '\b':
if (outcol)
break;
case '\b':
if (outcol)
-static char sccsid[] = "@(#)yycomm.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)yycomm.c 5.2 (Berkeley) %G%";
cp = cp->cmnext;
while (cp->cmseqid < Seqid || cp->cmseqid == Seqid && cp->cml->cmcol < Col) {
putone(cp);
cp = cp->cmnext;
while (cp->cmseqid < Seqid || cp->cmseqid == Seqid && cp->cml->cmcol < Col) {
putone(cp);
if (cp->cmnext == cp) {
cmhp = NIL;
break;
if (cp->cmnext == cp) {
cmhp = NIL;
break;
i++;
continue;
case '\t':
i++;
continue;
case '\t':
if (i < margin)
continue;
ppop("\t");
if (i < margin)
continue;
ppop("\t");
-static char sccsid[] = "@(#)yyput.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)yyput.c 5.2 (Berkeley) %G%";
if (lastname == file)
return;
if (file == filename && opt('n') && (printed & 02) == 0) {
if (lastname == file)
return;
if (file == filename && opt('n') && (printed & 02) == 0) {
header();
} else
yyputfn(file);
header();
} else
yyputfn(file);