ed - $1 <<'--EOI--'
g/^%/d
g/^	/.-1,.j
1,$s/^\([^|]*\)|\([^|]*\)|\(.*\)$/\
\1 \2 {\
\3;\
}/
1i
/* EM COMPACT CODE -- PROCEDURAL INTERFACE (generated from emcode.def) */
#include	"em.h"
#ifdef	PROC_INTF
#include	"label.h"
#include	"arith.h"
.
$a
#endif	PROC_INTF
.
1,$p
--EOI--
