Skip to content

Commit 42f94c2

Browse files
committed
Merge branch 'topic/vadim/gnatdoc' into 'main'
Formatters for `Character_Offset` and `Line_Offset` types. See merge request eng/shared/vss-text!13
2 parents c021ca3 + 68ef72e commit 42f94c2

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--
2+
-- Copyright (C) 2025, AdaCore
3+
--
4+
-- SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5+
--
6+
7+
-- Instantiation of generic integer formatter package for `Character_Offset`
8+
-- type.
9+
10+
with VSS.Strings.Formatters.Generic_Integers;
11+
12+
package VSS.Strings.Formatters.Character_Offsets is
13+
new VSS.Strings.Formatters.Generic_Integers (VSS.Strings.Character_Offset)
14+
with Preelaborate;
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--
2+
-- Copyright (C) 2025, AdaCore
3+
--
4+
-- SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5+
--
6+
7+
-- Instantiation of generic integer formatter package for `Line_Offset` type.
8+
9+
with VSS.Strings.Formatters.Generic_Integers;
10+
11+
package VSS.Strings.Formatters.Line_Offsets is
12+
new VSS.Strings.Formatters.Generic_Integers (VSS.Strings.Line_Offset)
13+
with Preelaborate;

0 commit comments

Comments
 (0)