Fixed AST_CONSTANT node generation