rspec/rules/S1566/cobol/rule.adoc
Fred Tingaud 16f6c0aecf
Inline adoc when include has no additional value (#1940)
Inline adoc files when they are included exactly once.

Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00

42 lines
927 B
Plaintext

== Why is this an issue?
Unless direct calls to paragraphs are forbidden, using ``++PERFORM section1++`` is usually error prone. Indeed, in that case, when creating a new paragraph in the middle of an existing source code there is no easy way to know if an existing execution flow can go through this new paragraph.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Parameters
.exclusionList
****
Comma separated list of sections that can be called with the "PERFORM" procedure statement
****
'''
== Comments And Links
(visible only on this page)
=== on 20 Mar 2015, 18:13:31 Ann Campbell wrote:
\[~freddy.mallet] this description doesn't make sense to me. I've edited
____
Except if direct calls to paragraphs are fully forbidden
____
to
____
Unless direct calls to paragraphs are fully forbidden
____
Hope that's correct
endif::env-github,rspecator-view[]