godber / pds3label

A Python module for parsing PDS 3 labels.
MIT License
0 stars 0 forks source link

Figure out how to incorporate comments in the label #1

Open godber opened 9 years ago

godber commented 9 years ago

My initial thought was to just include the comments directly into the label_dict structure with the key comment_NN, keeping track of the NN with the self.comment_num attribute. Its not clear to me how to access the comments in the Visitor at this point. The fact that comments can appear at different "levels" of the grammar may complicate this.