Place AST Dumping behind the option

This commit is contained in:
Curle 2021-01-18 01:52:20 +00:00
parent cce059b9dc
commit a52779e379
Signed by: TheCurle
GPG Key ID: 5942F13718443F79

View File

@ -47,7 +47,7 @@ static int Started = 0;
int AssembleTree(struct ASTNode* Node, int Register, int ParentOp) {
int LeftVal, RightVal;
if(!Started)
if(!Started && OptDumpTree)
DumpTree(Node, 0);
Started = 1;