genksyms: Minor parser cleanup
authorMichal Marek <mmarek@suse.cz>
Fri, 7 Oct 2011 22:48:29 +0000 (00:48 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 11 Oct 2011 09:59:19 +0000 (11:59 +0200)
commitb06fcd6c83c231f51a86448bb33c4cd717fefee8
tree19271df957cbdb016dd808438a5b6a8966dd4d0c
parentcd96ea3a4f2c9c226216c8d8e57fd8f86801515d
genksyms: Minor parser cleanup

Move the identical logic for recording a struct/union/enum definition to
a function.
scripts/genksyms/parse.y