Skip to content

Commit 1dbbde6

Browse files
ntreldlang-bot
authored andcommitted
[spec/type] Tweak introduction
Add Grammar heading for navigation. Use list instead of paragraph. Fix two anchor links.
1 parent 4121029 commit 1dbbde6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/type.dd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ $(SPEC_S Types,
44

55
$(HEADERNAV_TOC)
66

7+
$(H2 $(LNAME2 grammar, Grammar))
8+
79
$(P D is statically typed. Every expression has a type. Types constrain the values
810
an expression can hold, and determine the semantics of operations on those values.
911
)
@@ -87,11 +89,9 @@ $(GNAME QualifiedIdentifier):
8789
$(GLINK_LEX Identifier) $(D [) $(GLINK2 expression, AssignExpression) $(D] .) $(GSELF QualifiedIdentifier)
8890
)
8991

90-
91-
$(P $(RELATIVE_LINK2 basic_data_types, Basic Data Types) are leaf types.
92-
$(RELATIVE_LINK2 derived-data_types, Derived Data Types) build on leaf types.
93-
$(RELATIVE_LINK2 user-defined-types, User-Defined Types) are aggregates of basic and derived types.
94-
)
92+
* $(RELATIVE_LINK2 basic-data-types, Basic Data Types) are leaf types.
93+
* $(RELATIVE_LINK2 derived-data-types, Derived Data Types) build on leaf types.
94+
* $(RELATIVE_LINK2 user-defined-types, User-Defined Types) are aggregates of basic and derived types.
9595

9696
$(H2 $(LEGACY_LNAME2 Basic Data Types, basic-data-types, Basic Data Types))
9797

0 commit comments

Comments
 (0)