]> www.infradead.org Git - users/dhowells/kafs-utils.git/commit
rxgen: Save trailing comments on error codes in .xg files for exception message
authorDavid Howells <dhowells@redhat.com>
Fri, 11 Apr 2014 12:21:28 +0000 (13:21 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 11 Apr 2014 12:21:28 +0000 (13:21 +0100)
commit88b88b71f09e19382c704763310087b383e890e3
tree936561a268ed22e8948825c1a95eaec73deb7746
parentd89c23aefbf0a3a7a52a7e92a09c5befd96384eb
rxgen: Save trailing comments on error codes in .xg files for exception message

Save the trailing comment on an error code definition in a .xg file and attach
it to the python exception raised if a matching abort is received.

Signed-off-by: David Howells <dhowells@redhat.com>
py_rxgen.c
py_rxgen.h
rxgen/emit_py_module.pm
rxgen/rxgen.pl