Skip to content

Commit 73f51d1

Browse files
BolpatQuirin Schroll
andauthored
Replace GRAMMAR_INFORMATIVE by INFORMATIVE_GRAMMAR (#3860)
* Replace GRAMMAR_INFORMATIVE by INFORMATIVE_GRAMMAR * GRAMMAR_SUMMARY → SUMMARY_GRAMMAR --------- Co-authored-by: Quirin Schroll <[email protected]>
1 parent 1298ea9 commit 73f51d1

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

book/dlang.org.ddoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ GLOSSARY = $(HTTP dlang.org/spec/glossary.html#$0, $0)
184184
GLOSSARY2 = $(HTTP dlang.org/spec/glossary.html#$1, $2)
185185
GNAME=<a id="$0">$(SPANC gname, $0)</a>
186186
GRAMMAR=$(TC pre, bnf notranslate, $0)
187-
GRAMMAR_INFORMATIVE=$(GRAMMAR $0)
187+
INFORMATIVE_GRAMMAR=$(GRAMMAR $0)
188188
GRAMMAR_LEX=$(GRAMMAR $0)
189189
GREEN=$(SPANC green, $0)
190190
GSELF=$(I $0)

dlang.org.ddoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ GLOSSARY = $(HTTP dlang.org/spec/glossary.html#$0, $0)
185185
GLOSSARY2 = $(HTTP dlang.org/spec/glossary.html#$1, $2)
186186
GNAME=<a id="$0">$(SPANC gname, $0)</a>
187187
GRAMMAR=$(TC pre, bnf notranslate, $0)
188-
GRAMMAR_INFORMATIVE=$(GRAMMAR $0)
188+
INFORMATIVE_GRAMMAR=$(GRAMMAR $0)
189189
GRAMMAR_LEX=$(GRAMMAR $0)
190190
GREEN=$(SPANC green, $0)
191191
GSELF=$(I $0)

spec/class.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ $(GNAME AnonBaseClassList):
14461446

14471447
which is equivalent to:
14481448

1449-
$(GRAMMAR_INFORMATIVE
1449+
$(INFORMATIVE_GRAMMAR
14501450
$(D class) $(GLINK_LEX Identifier) $(D :) $(I AnonBaseClassList) $(I AggregateBody)
14511451
// ...
14521452
$(D new) $(I Identifier) $(I ConstructorArgs)

spec/expression.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3266,7 +3266,7 @@ void foo()
32663266

32673267
$(H4 $(LNAME2 is-parameter-list, Parameter List Forms))
32683268

3269-
$(GRAMMAR_INFORMATIVE
3269+
$(INFORMATIVE_GRAMMAR
32703270
$(D is $(LPAREN)) $(I Type) $(D :) $(I TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))
32713271
$(D is $(LPAREN)) $(I Type) $(D ==) $(I TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))
32723272
$(D is $(LPAREN)) $(I Type) $(I Identifier) $(D :) $(I TypeSpecialization) $(D ,) $(GLINK2 template, TemplateParameterList) $(D $(RPAREN))

spec/grammar.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ $(H2 Lexical Syntax)
88

99
$(P Refer to the page for $(LINK2 lex.html, lexical syntax).)
1010

11-
$(GRAMMAR_SUMMARY)
11+
$(SUMMARY_GRAMMAR)
1212

1313
$(SPEC_SUBNAV_PREV_NEXT istring, Interpolation Expression Sequence, module, Modules)
1414
)
@@ -29,4 +29,4 @@ Macros:
2929
PSCURLYSCOPE=$(GLINK NonEmptyOrScopeBlockStatement)
3030
TRAITS_LINK2=$(LINK2 traits.html#$1, $(D $1))
3131
GLINK2=$(GLINK $2)
32-
GRAMMAR_SUMMARY=$0
32+
SUMMARY_GRAMMAR=$0

spec/importc.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ $(H2 $(LNAME2 implementation, Implementation))
398398

399399
$(P This is described in C11 7.6.1)
400400

401-
$(GRAMMAR_INFORMATIVE
401+
$(INFORMATIVE_GRAMMAR
402402
#pragma STDC FENV_ACCESS on-off-switch
403403

404404
on-off-switch:

spec/simd.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import core.simd;
5555

5656
$(P The types defined will all follow the naming convention:)
5757

58-
$(GRAMMAR_INFORMATIVE
58+
$(INFORMATIVE_GRAMMAR
5959
$(I typeNN)
6060
)
6161
where $(I type) is the vector element type and $(I NN) is the number

spec/type.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ $(H2 $(LNAME2 functions, Function Types))
597597

598598
$(P A function type has the form:)
599599

600-
$(GRAMMAR_INFORMATIVE
600+
$(INFORMATIVE_GRAMMAR
601601
$(GLINK2 declaration, StorageClasses)$(OPT) $(GLINK Type) $(GLINK2 function, Parameters) $(GLINK2 function, FunctionAttributes)$(OPT)
602602
)
603603

@@ -608,7 +608,7 @@ A function type is only used for type tests or as the target type of a pointer.)
608608
$(P Instantiating a function type is illegal. Instead, a pointer to function
609609
or delegate can be used. Those have these type forms respectively:)
610610

611-
$(GRAMMAR_INFORMATIVE
611+
$(INFORMATIVE_GRAMMAR
612612
$(GLINK Type) `function` $(GLINK2 function, Parameters) $(GLINK2 function, FunctionAttributes)$(OPT)
613613
$(GLINK Type) `delegate` $(GLINK2 function, Parameters) $(GLINK2 function, MemberFunctionAttributes)$(OPT)
614614
)

0 commit comments

Comments
 (0)