Skip to content

Commit

Permalink
Merge branch 'issue_196' into 'master'
Browse files Browse the repository at this point in the history
Add others handle for gnatpp templates

See merge request eng/ide/libadalang-tools!241
  • Loading branch information
raph-amiard committed Sep 17, 2024
2 parents 535fd2d + 25e9513 commit a698738
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pp-actions.adb
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ package body Pp.Actions is
L ("with private"),

when Ada_Reduce_Attribute_Ref => null,
when Ada_Value_Sequence => null
when Ada_Value_Sequence => null,
-- ??? Those 2 nodes have been introduced to support the Ada 2022
-- 'Reduce attribute. Ada_Reduce_Attribute_Ref is a new node
-- derived from Ada_Name and is used to parse `Expr'Reduce
Expand All @@ -1366,6 +1366,7 @@ package body Pp.Actions is
-- Ada_Node and is used to hold a reduction expression. See Ada
-- 2022, RM 4.5.10.

when others => null
); -- end case
end Template_For_Kind;

Expand Down

0 comments on commit a698738

Please sign in to comment.