Skip to content

Commit b8991ba

Browse files
authored
add ACC macro for Associated C Compiler (dlang#3609)
1 parent a8d38c8 commit b8991ba

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

dlang.org.ddoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
_=Macros for the dlang.org site look and feel. Please keep sorted by name. Multiline macros should keep one _= line before and after for clarity. Also, one _= line should be present when the first letter changes. (The "_="" is needed so there's no extra newline after the last macro defined in a group.)
22

33
ACRONYM = <acronym title="$+">$1</acronym> ($+)
4+
ACC = $(GLOSSARY2 acc, Associated C Compiler)
45
ASSIGNEXPRESSION = $(GLINK2 expression, AssignExpression)
56
_=
67

spec/importc.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ $(H2 $(LNAME2 dialect, ImportC Dialect))
7878

7979
$(IMPLEMENTATION_DEFINED Adjustment to the ImportC dialect is made to match the
8080
behavior of the C compiler that the D compiler is matched to,
81-
i.e. the $(DDSUBLINK glossary, acc, Associated C Compiler).
81+
i.e. the $(ACC).
8282
)
8383

8484
$(P Further adjustment is made to take advantage of some of the D
@@ -132,7 +132,7 @@ $(H2 $(LNAME2 preprocessor, Preprocessor))
132132
$(P ImportC does not have a preprocessor. It is designed to compile C
133133
files after they have been first run through the C preprocessor.
134134
ImportC can automatically run the C preprocessor associated with the
135-
Associated C Compiler, or a preprocessor can be run manually.
135+
$(ACC), or a preprocessor can be run manually.
136136
)
137137

138138
$(H3 $(LNAME2 auto-cpp, Running the Preprocessor Automatically))

spec/windows.dd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ $(P This covers Windows programming with 32 bit OMF, 32 bit Mscoff,
1010

1111
$(H2 $(LNAME2 mscoff, Windows 32 and 64 bit MSCOFF Programs))
1212

13-
$(P 32 bit and 64 bit MSCOFF programs use the Microsoft Visual C/C++ compiler as the Associated
14-
C Compiler, generate object files in the MSCOFF format, and use the Microsoft linker
13+
$(P 32 bit and 64 bit MSCOFF programs use the Microsoft Visual C/C++ compiler as the $(ACC),
14+
generate object files in the MSCOFF format, and use the Microsoft linker
1515
to link them.
1616
)
1717

@@ -25,7 +25,7 @@ $(H2 $(LNAME2 omf, Windows 32 bit OMF Programs))
2525

2626
$(P 32 bit OMF programs use the
2727
$(LINK2 https://www.digitalmars.com/download/freecompiler.html, Digital Mars C/C++ compiler)
28-
as the Associated C Compiler, generate object files in the OMF format, and use the
28+
as the $(ACC), generate object files in the OMF format, and use the
2929
$(LINK2 https://www.digitalmars.com/ctg/optlink.html, Optlink linker)
3030
to link them.
3131
)

0 commit comments

Comments
 (0)