As a final step before returning the finished parse tree, check if there are still multiple nodes on the stack. If so, make the inner nodes children of the top node. |
||
|---|---|---|
| .. | ||
| control_flow.txt | ||
| errors.txt | ||
| main.txt | ||
| operators.txt | ||
As a final step before returning the finished parse tree, check if there are still multiple nodes on the stack. If so, make the inner nodes children of the top node. |
||
|---|---|---|
| .. | ||
| control_flow.txt | ||
| errors.txt | ||
| main.txt | ||
| operators.txt | ||