Fixed bug with literals defined in parens defined in or chains

Before, if a literal was defined within a parenthised section that
also happened to be a part of some outer or chain, the literal
would not be used in the logic of the parenthised function, though
it would be defined correctly. This fixes that
Added printing the AST of the parse if successful with trace on