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