Formatted code

This commit is contained in:
Tristan B. Velloza Kildaire 2022-10-15 16:55:10 +02:00
parent 2d9cf1f333
commit cbe40e7184
1 changed files with 11 additions and 12 deletions

View File

@ -1267,19 +1267,18 @@ public class DNodeGenerator
/* TODO: Make sure a DNode exists (implying it's been declared already) */ /* TODO: Make sure a DNode exists (implying it's been declared already) */
if(varDecDNode.isVisisted()) if(varDecDNode.isVisisted())
{ {
/* Pool varass stdalone */ /* Pool varass stdalone */
DNode vStdAlDNode = pool(vAsStdAl); DNode vStdAlDNode = pool(vAsStdAl);
node.needs(vStdAlDNode); node.needs(vStdAlDNode);
DNode expression = expressionPass(vAsStdAl.getExpression(), context); DNode expression = expressionPass(vAsStdAl.getExpression(), context);
vStdAlDNode.needs(expression); vStdAlDNode.needs(expression);
}
} else
else {
{ Parser.expect("Cannot reference variable "~vAsStdAl.getVariableName()~" which exists but has not been declared yet");
Parser.expect("Cannot reference variable "~vAsStdAl.getVariableName()~" which exists but has not been declared yet"); }
}
} }
/** /**
* Function declarations * Function declarations