shithub: riscv

ref: d1dc287210afd73705c21675dcbaa4eaf997fdde
dir: /sys/src/cmd/ql/mkcname/

View raw version
ed - ../ql/l.h <<'!'
v/^	C_/d
g/^	C_NCLASS/s//&,/
g/[ 	]*=.*,/s//,/
v/,/p
,s/^	C_/	"/
,s/,.*$/",/
1i
char	*cnames[] =
{
.
,a
};
.
w cnam.c
Q
!