xref: /original-bsd/usr.bin/pascal/src/opc.c (revision 43bfbc1c)
1 /*
2  * Copyright (c) 1980 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  */
6 
7 #ifndef lint
8 char copyright[] =
9 "@(#) Copyright (c) 1980 Regents of the University of California.\n\
10  All rights reserved.\n";
11 #endif not lint
12 
13 #include "OPnames.h"
14 
15 main()  {
16 	register int i;
17 
18 	for (i = 0;  i < 256;  i++)
19 		if (otext[i])
20 			printf("#define O_%s %04o\n", otext[i]+1, i);
21 	exit(0);
22 }
23