File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
strictdoc/backend/sdoc_source_code
tests/integration/features/source_code_traceability/_general/70_link_from_section_to_file Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,10 @@ def function_range_marker_processor(
220220 function_range_marker .ng_range_line_end = (
221221 parse_context .file_stats .lines_total
222222 )
223+ # Function range markers supported by this general reader can only
224+ # be of scope=file. Only the language-aware parsing results in
225+ # markers also having scope=function or scope=class.
226+ function_range_marker .set_description ("entire file" )
223227
224228 for req in function_range_marker .reqs :
225229 markers = parse_context .map_reqs_to_markers .setdefault (req , [])
Original file line number Diff line number Diff line change 22
33features = [
44 " REQUIREMENT_TO_SOURCE_TRACEABILITY" ,
5- " SOURCE_FILE_LANGUAGE_PARSERS" ,
65]
76
87exclude_source_paths = [
You can’t perform that action at this time.
0 commit comments