Skip to content

Add Interpolation Expression Sequences to the spec #3768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions posix.mak
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ PREMADE=fetch-issue-cnt.php robots.txt .htaccess .dpl_rewrite_map.txt ads.txt \
# and .html in the generated HTML. These are also used for the mobi
# book generation, for which reason the list is sorted by chapter.
SPEC_ROOT=$(addprefix spec/, \
spec intro lex grammar module declaration type property attribute pragma \
expression statement arrays hash-map struct class interface enum \
spec intro lex istring grammar module declaration type property attribute \
pragma expression statement arrays hash-map struct class interface enum \
const3 function operatoroverloading template template-mixin contracts \
version traits errors unittest garbage float iasm ddoc \
interfaceToC cpp_interface objc_interface portability entity memory-safe-d \
Expand Down
2 changes: 1 addition & 1 deletion spec/abi.dd
Original file line number Diff line number Diff line change
Expand Up @@ -1077,5 +1077,5 @@ $(SPEC_SUBNAV_PREV_NEXT memory-safe-d, Memory Safety, simd, Vector Extensions)
)

Macros:
CHAPTER=38
CHAPTER=39
TITLE=Application Binary Interface
2 changes: 1 addition & 1 deletion spec/arrays.dd
Original file line number Diff line number Diff line change
Expand Up @@ -1386,6 +1386,6 @@ $(SPEC_SUBNAV_PREV_NEXT statement, Statements, hash-map, Associative Arrays)
)

Macros:
CHAPTER=12
CHAPTER=13
TITLE=Arrays
_=
2 changes: 1 addition & 1 deletion spec/attribute.dd
Original file line number Diff line number Diff line change
Expand Up @@ -1192,5 +1192,5 @@ $(SPEC_SUBNAV_PREV_NEXT property, Properties, pragma, Pragmas)
)

Macros:
CHAPTER=8
CHAPTER=9
TITLE=Attributes
2 changes: 1 addition & 1 deletion spec/betterc.dd
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,5 @@ $(SPEC_SUBNAV_PREV_NEXT simd, Vector Extensions, importc, ImportC)
)

Macros:
CHAPTER=40
CHAPTER=41
TITLE=Better C
2 changes: 1 addition & 1 deletion spec/class.dd
Original file line number Diff line number Diff line change
Expand Up @@ -1464,6 +1464,6 @@ $(SPEC_SUBNAV_PREV_NEXT struct, Structs and Unions, interface, Interfaces)
)

Macros:
CHAPTER=15
CHAPTER=16
TITLE=Classes
_=
2 changes: 1 addition & 1 deletion spec/const3.dd
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ $(SPEC_SUBNAV_PREV_NEXT enum, Enums, function, Functions)
)

Macros:
CHAPTER=18
CHAPTER=19
TH1=<th class="nobr">$(CODE $0)</th>
TD1=<td class="nobr">$(CODE $0)</td>
TDE=<td class="nobr">$(GREEN $(CODE $0))</td>
Expand Down
2 changes: 1 addition & 1 deletion spec/contracts.dd
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ $(SPEC_SUBNAV_PREV_NEXT template-mixin, Template Mixins, version, Conditional Co
)

Macros:
CHAPTER=23
CHAPTER=24
TITLE=Contract Programming
2 changes: 1 addition & 1 deletion spec/cpp_interface.dd
Original file line number Diff line number Diff line change
Expand Up @@ -1117,5 +1117,5 @@ $(SPEC_SUBNAV_PREV_NEXT interfaceToC, Interfacing to C, objc_interface, Interfac
)

Macros:
CHAPTER=33
CHAPTER=34
TITLE=Interfacing to C++
2 changes: 1 addition & 1 deletion spec/ddoc.dd
Original file line number Diff line number Diff line change
Expand Up @@ -1345,5 +1345,5 @@ $(SPEC_SUBNAV_PREV_NEXT iasm, D x86 Inline Assembler, interfaceToC, Interfacing
)

Macros:
CHAPTER=31
CHAPTER=32
TITLE=Documentation Generator
2 changes: 1 addition & 1 deletion spec/declaration.dd
Original file line number Diff line number Diff line change
Expand Up @@ -889,5 +889,5 @@ $(SPEC_SUBNAV_PREV_NEXT module, Modules, type, Types)


Macros:
CHAPTER=5
CHAPTER=6
TITLE=Declarations
2 changes: 1 addition & 1 deletion spec/entity.dd
Original file line number Diff line number Diff line change
Expand Up @@ -291,5 +291,5 @@ $(SPEC_SUBNAV_PREV_NEXT portability, Portability Guide, memory-safe-d, Memory Sa
)

Macros:
CHAPTER=36
CHAPTER=37
TITLE=Named Character Entities
2 changes: 1 addition & 1 deletion spec/enum.dd
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,6 @@ $(SPEC_SUBNAV_PREV_NEXT interface, Interfaces, const3, Type Qualifiers)
)

Macros:
CHAPTER=17
CHAPTER=18
TITLE=Enums
CATEGORY_SPEC=$0
2 changes: 1 addition & 1 deletion spec/errors.dd
Original file line number Diff line number Diff line change
Expand Up @@ -212,5 +212,5 @@ $(SPEC_SUBNAV_PREV_NEXT traits, Traits, unittest, Unit Tests)
)

Macros:
CHAPTER=26
CHAPTER=27
TITLE=Errors
2 changes: 1 addition & 1 deletion spec/expression.dd
Original file line number Diff line number Diff line change
Expand Up @@ -3399,7 +3399,7 @@ $(SPEC_SUBNAV_PREV_NEXT pragma, Pragmas, statement, Statements)
)

Macros:
CHAPTER=10
CHAPTER=11
TITLE=Expressions
IDENTIFIER=$(GLINK_LEX Identifier)
USUAL_ARITHMETIC_CONVERSIONS=$(DDSUBLINK spec/type, usual-arithmetic-conversions, Usual Arithmetic Conversions)
Expand Down
2 changes: 1 addition & 1 deletion spec/float.dd
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,5 @@ $(SPEC_SUBNAV_PREV_NEXT garbage, Garbage Collection, iasm, D x86 Inline Assemble
)

Macros:
CHAPTER=29
CHAPTER=30
TITLE=Floating-Point
2 changes: 1 addition & 1 deletion spec/function.dd
Original file line number Diff line number Diff line change
Expand Up @@ -4309,7 +4309,7 @@ $(SPEC_SUBNAV_PREV_NEXT const3, Type Qualifiers, operatoroverloading, Operator O
)

Macros:
CHAPTER=19
CHAPTER=20
TITLE=Functions
ASSIGNEXPRESSION=$(GLINK2 expression, AssignExpression)
CHECK=&#10004;
2 changes: 1 addition & 1 deletion spec/garbage.dd
Original file line number Diff line number Diff line change
Expand Up @@ -587,5 +587,5 @@ $(SPEC_SUBNAV_PREV_NEXT unittest, Unit Tests, float, Floating Point)
)

Macros:
CHAPTER=28
CHAPTER=29
TITLE=Garbage Collection
2 changes: 1 addition & 1 deletion spec/glossary.dd
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,6 @@ $(SPEC_SUBNAV_PREV_NEXT windows, Windows Programming, legacy, Legacy Code)
)

Macros:
CHAPTER=44
CHAPTER=45
TITLE=Glossary
D=<span class="d_inlinecode">$0</span>
4 changes: 2 additions & 2 deletions spec/grammar.dd
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ $(H2 Lexical Syntax)

$(GRAMMAR_SUMMARY)

$(SPEC_SUBNAV_PREV_NEXT lex, Lexical, module, Modules)
$(SPEC_SUBNAV_PREV_NEXT istring, Interpolation Expression Sequence, module, Modules)
)

Macros:
CHAPTER=3
CHAPTER=4
TITLE=D Grammar
IDENTIFIER=$(GLINK Identifier)
EXPRESSION=$(GLINK Expression)
Expand Down
2 changes: 1 addition & 1 deletion spec/hash-map.dd
Original file line number Diff line number Diff line change
Expand Up @@ -556,5 +556,5 @@ key: AG, value: 2
$(SPEC_SUBNAV_PREV_NEXT arrays, Arrays, struct, Structs and Unions)

Macros:
CHAPTER=13
CHAPTER=14
TITLE=Associative Arrays
2 changes: 1 addition & 1 deletion spec/iasm.dd
Original file line number Diff line number Diff line change
Expand Up @@ -1378,5 +1378,5 @@ $(SPEC_SUBNAV_PREV_NEXT float, Floating Point, ddoc, Embedded Documentation)
)

Macros:
CHAPTER=30
CHAPTER=31
TITLE=Inline Assembler
2 changes: 1 addition & 1 deletion spec/importc.dd
Original file line number Diff line number Diff line change
Expand Up @@ -1010,5 +1010,5 @@ $(SPEC_SUBNAV_PREV_NEXT betterc, Better C, ob, Live Functions)
)

Macros:
CHAPTER=41
CHAPTER=42
TITLE=ImportC
2 changes: 1 addition & 1 deletion spec/interface.dd
Original file line number Diff line number Diff line change
Expand Up @@ -360,5 +360,5 @@ $(SPEC_SUBNAV_PREV_NEXT class, Classes, enum, Enums)
)

Macros:
CHAPTER=16
CHAPTER=17
TITLE=Interfaces
2 changes: 1 addition & 1 deletion spec/interfaceToC.dd
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ $(SPEC_SUBNAV_PREV_NEXT ddoc, Embedded Documentation, cpp_interface, Interfacing
)

Macros:
CHAPTER=32
CHAPTER=33
TROW2=$(TR2 $(TD $(D $1)), $(TD2 $(D $2) $(TAIL $+)))
TROW3=$(TR3 $(TD $(D $1)), $(TD $(D $2)), $(TD $(D $3)))
TROW3PLUS=$(TR3 $(TD $(D $1)), $(TD $(D $2)), $(TD $(D $3) $4))
Expand Down
Loading