Re: [PATCH 1/2] JSON Dumping of GENERIC trees

2024-09-27 Thread Thor Preimesberger
ue_ptr (as a return in some function calls) and in others I use new and delete. Thanks, Thor Preimesberger On Fri, Sep 27, 2024 at 9:18 AM David Malcolm wrote: > > On Sat, 2024-09-21 at 22:49 -0500, -thor wrote: > > From: thor > > > > This is the second revision o

Re: [PATCH] JSON dumping for GENERIC trees

2024-09-12 Thread Thor Preimesberger
> There are three oddities I immediately notice: > > The PLUS_EXPR operands are in a array "operands" while the RETURN_EXPR > "operand" or "child pointer" is refered to from "return_expr". I think both > are > tcc_expression trees and the operands are in exp.operands. Ideally the > JSON would mo