Skip to content

Commit

Permalink
Merge branch 'topic/tune-whitespace' into 'master'
Browse files Browse the repository at this point in the history
Tune whitespace in code sample for rule OTHERS_In_Aggregates

See merge request eng/libadalang/langkit-query-language!377
  • Loading branch information
ptroja committed Dec 20, 2024
2 parents fdafe0c + a0b6702 commit 73fd852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lkql_checker/doc/generated/predefined_rules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3623,7 +3623,7 @@ exactly one component; for example, ``(1..1 => 0, others => 1)``.
end record;
Arr_Var1 : Arr := (others => 1);
Arr_Var2 : Arr := (1 => 1, 2=> 2, others => 0); -- FLAG
Arr_Var2 : Arr := (1 => 1, 2 => 2, others => 0); -- FLAG
Rec_Var1 : Rec := (C1 => 1, others => 0);
Rec_Var2 : Rec := (1, 2, others => 3); -- FLAG
Expand Down
2 changes: 1 addition & 1 deletion lkql_checker/share/lkql/others_in_aggregates.lkql
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fun others_in_aggregates(node) =
|" end record;
|"
|" Arr_Var1 : Arr := (others => 1);
|" Arr_Var2 : Arr := (1 => 1, 2=> 2, others => 0); -- FLAG
|" Arr_Var2 : Arr := (1 => 1, 2 => 2, others => 0); -- FLAG
|"
|" Rec_Var1 : Rec := (C1 => 1, others => 0);
|" Rec_Var2 : Rec := (1, 2, others => 3); -- FLAG
Expand Down

0 comments on commit 73fd852

Please sign in to comment.