Skip to content

Commit 6d28881

Browse files
ntrelthewilsonator
authored andcommitted
Restore GRAMMAR_INLINE macro
1 parent eecc61a commit 6d28881

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dlang.org.ddoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ _=
188188
GRAMMAR=$(TC pre, bnf notranslate, $0)
189189
GRAMMAR_INFORMATIVE=$(GRAMMAR $0)
190190
GRAMMAR_LEX=$(GRAMMAR $0)
191-
INLINE_GRAMMAR=$(TC tt, bnf notranslate, $0)
191+
GRAMMAR_INLINE=$(TC tt, bnf notranslate, $0)
192192
GREEN=$(SPANC green, $0)
193193
GSELF=$(I $0)
194194
GT=>

spec/expression.dd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2988,7 +2988,7 @@ $(GNAME NewExpression):
29882988
//int[] a = new int[]; // error, need length argument
29892989
---
29902990
)
2991-
$(P The $(INLINE_GRAMMAR *Type(NamedArgumentList)*) form allows passing either a single initializer
2991+
$(P The $(GRAMMAR_INLINE *Type(NamedArgumentList)*) form allows passing either a single initializer
29922992
of the same type, or multiple arguments for more complex types:)
29932993

29942994
* For class and struct types, *NamedArgumentList* is passed to the constructor.
@@ -3010,9 +3010,9 @@ $(GNAME NewExpression):
30103010
---
30113011
)
30123012

3013-
$(P The $(INLINE_GRAMMAR *Type[AssignExpression]*) form allocates a dynamic array with
3013+
$(P The $(GRAMMAR_INLINE *Type[AssignExpression]*) form allocates a dynamic array with
30143014
length equal to *AssignExpression*.
3015-
It is preferred to use the $(INLINE_GRAMMAR *Type(NamedArgumentList)*) form when allocating
3015+
It is preferred to use the $(GRAMMAR_INLINE *Type(NamedArgumentList)*) form when allocating
30163016
dynamic arrays instead, as it is more general.)
30173017

30183018
$(NOTE It is not possible to allocate a static array directly with

0 commit comments

Comments
 (0)