Skip to content

Commit fd7b920

Browse files
committed
[spec/editions] Fix generating HTML & links
Update posix.mak so the HTML gets generated. Tweak wording. Fix links.
1 parent 64d1f2b commit fd7b920

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

posix.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ SPEC_ROOT=$(addprefix spec/, \
322322
const3 function operatoroverloading template template-mixin contracts \
323323
version traits errors unittest garbage float iasm ddoc \
324324
interfaceToC cpp_interface objc_interface portability entity memory-safe-d \
325-
abi simd betterc importc ob windows glossary legacy)
325+
abi simd betterc importc ob windows glossary legacy editions)
326326
SPEC_DD=$(addsuffix .dd,$(SPEC_ROOT))
327327

328328
CHANGELOG_FILES:=$(basename $(subst _pre.dd,.dd,$(wildcard changelog/*.dd)))

spec/editions.dd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ features. Editions are a module level feature, i.e. various sections
1010
of a module cannot be set to different editions.
1111
)
1212

13-
$(P The edition is set by default, by putting it in the $(GLINK2 module, ModuleDeclartion),
13+
$(P The edition is set either by default, by putting it in the $(GLINK2 module, ModuleDeclaration),
1414
or with the $(TT -edition) command line switch.
1515
)
1616

1717
$(P
18-
Editions are meant to be backwards and forwards compatible; it makes possible a D
18+
Editions are meant to be backwards and forwards compatible; it makes it possible for a D
1919
module targeting one edition to import a D module targeting any other edition.
2020
A template must obey the rules of the edition targeted by the module in which it
2121
is defined, not the module in which it is instantiated. Compatibility is at the
@@ -31,7 +31,7 @@ $(GNAME Edition):
3131
$(GLINK2 lex, DecimalInteger)
3232
)
3333

34-
$(H2 WWhat can editions do?)
34+
$(H2 What can editions do?)
3535

3636
$(UL
3737
$(LI Deleting existing features -
@@ -71,9 +71,9 @@ $(P An edition level is determined by:)
7171

7272
$(OL
7373
$(LI an explicit 4 digit number corresponding to the year in which the desired edition was released)
74-
$(LI if no edition is specified, and there is no $(GLINK2 ModuleDeclaration) in the source code,
74+
$(LI if no edition is specified, and there is no $(GLINK2 module, ModuleDeclaration) in the source code,
7575
the edition used is the $(B Baseline Edition), which corresponds to 2023.)
76-
$(LI if no edition is specified, and there is a $(GLINK2 ModuleDeclaration) in the source code,
76+
$(LI if no edition is specified, and there is a $(GLINK2 module, ModuleDeclaration) in the source code,
7777
the edition used is the year the compiler was released.)
7878
)
7979

0 commit comments

Comments
 (0)