SRC2="defs \
global_vars"


SRC="globals_init \
main \
mine \
pass1/scanner/scan \
pass1/parser/grammar.fixed \
pass1/parser/initids \
pass1/applinfer/precedence \
pass1/stt/stt \
pass5d/RIC \
stree/ststructs_cls \
stree/mknode \
pass1/applinfer/mkappl \
stree/Array \
pass1/applinfer/mkappl2 \
pass1/applinfer/outermost_op \
pass1/applinfer/single_arg \
pass1/applinfer/cand_cond \
pass1/applinfer/cor_cond \
sigio/sig_out \
sigio/sig_in"

for var in $SRC
do
    ruby djdpre.rb <$var.icn >$var.tmp.icn
    emacs $var.tmp.icn
    cp $var.tmp.icn ../share/$var.tmp.icn.txt


done

for var in $SRC2
do
cp $var.icn ../share/$var.tmp.icn.txt
done


