shithub: riscv

ref: 52cacba37c6f3a125ef931afa4b9c2cdb7438fef
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
!