Skip to content

Refactor use of comment character sequences #25

@lta14

Description

@lta14

Comment markers should be defined in the comments map as constants.

comments = { "C" : (["//"],(["/*","*/"])), "C++" : (["//"],(["/*","*/"])), "C#" : (["//"],(["/*","*/"])), "Python" : (["#"],(["'''","'''"],["\"\"\"","\"\"\""])), }

The Readers now have two attributes containing the language specific comment markers. These attributes should be used instead of the hardcoded comment markers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions