Skip to content

Commit

Permalink
Update GNATcheck RM sources to stick to the generated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoGGuerrier committed Nov 28, 2024
1 parent 87103b6 commit 8c4dc7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lkql_checker/share/lkql/silent_exception_handlers.lkql
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ fun silent_exception_handlers(node, subprograms=[], subprogram_regexps=[]) =
|"
|" Note that if you specify the rule with parameters in a command shell, you may
|" need to escape its parameters. The best and the safest way of using this rule
|" is to place it into a rule file and to use this rule file as a parameter of the
|" ``-from=`` option, no escaping is needed in this case.
|" is to place it into an LKQL rule file and to use this rule file with the
|" ``--rule-file`` switch, no escaping is needed in this case.
|"
|" .. rubric:: Example
|"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,9 @@ public Integer call() throws Exception {
The description of the rules currently implemented in ``gnatcheck`` is
given in this chapter.
The rule identifier is used as a parameter of ``gnatcheck``'s ``+R`` or ``-R``
switches.
The rule identifier is used as a key for LKQL rule configuration objects (see
:ref:`LKQL rule file<LKQL_options_file>`), and as first parameter of
``gnatcheck``'s ``+R`` or ``-R`` switches.
Be aware that most of these rules apply to specialized coding
requirements developed by individual users and may well not make sense in
Expand Down

0 comments on commit 8c4dc7f

Please sign in to comment.