add test for composite sub in inline pass macro
add line info to more warnings (lists, tables)

- also fix some warnings and whitespace