shithub: riscv

ref: 6280c0f17bf3919cf6c2506fec6edfa0a7ec10fe
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
!