go-libvirt-plain/internal/lvgen/lv-gen.go
Geoff Hickey 5a6654f07a Generate libvirt constants from libvirt sources.
- Add a yacc-based parser and a hand-written lexer to read the
remote_protocol.x file from libvirt's sources.
- Use the new parser to generate the constants used to communicate with
libvirt.
2017-11-02 19:42:44 -04:00

5 lines
78 B
Go

package lvgen
//go:generate goyacc sunrpc.y
//go:generate go run gen/main.go