This code (from here to the printf) would be better as a recursive function call.  Especially since inline tables can contain sets, and you may want to output bcd  constants differently etc.