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. |
||
|---|---|---|
| .. | ||
| compiler | ||
| runtime | ||
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. |
||
|---|---|---|
| .. | ||
| compiler | ||
| runtime | ||