252
edits
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
* Modify Octave's demo function to find demo comment blocks that are associated with classdef methods. | * Modify Octave's demo function to find demo comment blocks that are associated with classdef methods. | ||
== Location info in the parse tree == | == [<span style="color:DarkGreen">Done</span>] 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. | 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. |