shithub: riscv

ref: 0b9c6fa117c3fe571aed497579b3340b2f8a1164
dir: /sys/src/cmd/qc/mkenam/

View raw version
ed - ../qc/q.out.h <<'!'
v/^	A/d
g/^	AEND/s//&,/
g/^	ALAST/s//&,/
g/[ 	]*=.*,/s//,/
v/,/p
,s/^	A/	"/
,s/,.*$/",/
1i
char	*anames[] =
{
.
,a
};
.
w enam.c
Q
!