Skip to content

Commit 34285d3

Browse files
WalterBrightdlang-bot
authored andcommitted
add Ddoc spec macros RATIONALE and NOTE
1 parent 5802dc2 commit 34285d3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

spec/spec.ddoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,17 @@ $(COMMENT While not part of the spec, best practices offers advice on how to bes
99
BEST_PRACTICE= $(DIVC spec-boxes best-practice, $(B Best Practices:) $0)
1010

1111
$(COMMENT Identifies implementation-defined behavior in the spec)
12-
IMPLEMENTATION_DEFINED=$(DIVC spec-boxes implementation-defined, $(B Implementation Defined): $0)
12+
IMPLEMENTATION_DEFINED=$(DIVC spec-boxes implementation-defined, $(B Implementation Defined:) $0)
1313

1414
$(COMMENT Identifies undefined-defined behavior in the spec)
15-
UNDEFINED_BEHAVIOR=$(DIVC spec-boxes undefined-behavior, $(B Undefined Behavior): $0)
15+
UNDEFINED_BEHAVIOR=$(DIVC spec-boxes undefined-behavior, $(B Undefined Behavior:) $0)
16+
17+
$(COMMENT While not part of the spec, an explanation for something unexpected)
18+
RATIONALE= $(DIVC spec-boxes rationale, $(B Rationale:) $0)
19+
20+
$(COMMENT While not part of the spec, provides additional relevant information)
21+
NOTE= $(DIVC spec-boxes note, $(B Note:) $0)
22+
1623
_ =
1724

1825
BODY_PREFIX =

0 commit comments

Comments
 (0)