263
edits
Line 17: | Line 17: | ||
== Location info in the parse tree == | == Location info in the parse tree == | ||
Once all tokens are stored in the parse tree, we can eliminate the separate storage of line and column info and eliminate two arguments from nearly every tree_* class constructor. Any location info that is needed later for error messages, debugging, or code generation can be obtained from individual tokens. | [<span style="color:DarkGreen">Done</span>] Once all tokens are stored in the parse tree, we can eliminate the separate storage of line and column info and eliminate two arguments from nearly every tree_* class constructor. Any location info that is needed later for error messages, debugging, or code generation can be obtained from individual tokens. | ||
== MException object == | == MException object == |