Place AST Dumping behind the option
This commit is contained in:
parent
cce059b9dc
commit
a52779e379
|
@ -47,7 +47,7 @@ static int Started = 0;
|
||||||
|
|
||||||
int AssembleTree(struct ASTNode* Node, int Register, int ParentOp) {
|
int AssembleTree(struct ASTNode* Node, int Register, int ParentOp) {
|
||||||
int LeftVal, RightVal;
|
int LeftVal, RightVal;
|
||||||
if(!Started)
|
if(!Started && OptDumpTree)
|
||||||
DumpTree(Node, 0);
|
DumpTree(Node, 0);
|
||||||
Started = 1;
|
Started = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user