shithub: riscv

ref: 02e584c06c507a7802ed160ff954fa9fd080265c
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
!