Awatmath.1839 net.bugs.4bsd utzoo!decvax!watmath!dmmartindale Tue Feb 23 15:15:20 1982 Making yacc tables shared in ccom The file /usr/src/cmd/pcc/:yyfix is supposed to write a given set of yacc's tables into the file rodata.c, replacing them with external declarations in y.tab.c. In fact, it writes only the last of them into rodata.c, and reads the rest back into y.tab.c. Replace :yyfix with the following, recompile, and about 4Kb of tables become shared. >rodata.c for i in $* do ed - y.tab.c <