Skip to content

Commit

Permalink
Use RELATIVE_LINK2 everywhere instead of $(LINK2 #anchor, Description)
Browse files Browse the repository at this point in the history
'#' should not be used for non-HTML generation.
  • Loading branch information
ntrel committed Mar 3, 2013
1 parent 23be5ea commit dedf3cc
Show file tree
Hide file tree
Showing 20 changed files with 164 additions and 164 deletions.
2 changes: 1 addition & 1 deletion D1toD2.dd
Expand Up @@ -100,5 +100,5 @@ $(ITEM immutable_string, String Literals are Immutable)
Macros:
TITLE=Migrating D1 Code to D2
WIKI=D1toD2
ITEMR=$(LI $(LINK2 #$1, $+))
ITEMR=$(LI $(RELATIVE_LINK2 $1, $+))
ITEM=<hr><h3><a name="$1">$+</a></h3>
2 changes: 1 addition & 1 deletion arrays.dd
Expand Up @@ -302,7 +302,7 @@ a = b; // a refers to b
a = b ~ c[0..0]; // a refers to a copy of b
---------

$(P Appending does not always create a copy, see $(LINK2 #resize,
$(P Appending does not always create a copy, see $(RELATIVE_LINK2 resize,
setting dynamic array length) for details.
)

Expand Down
28 changes: 14 additions & 14 deletions attribute.dd
Expand Up @@ -8,25 +8,25 @@ $(GNAME AttributeSpecifier):
$(GLINK Attribute) $(GLINK DeclarationBlock)

$(GNAME Attribute):
$(LINK2 #linkage, $(I LinkageAttribute))
$(LINK2 #align, $(I AlignAttribute))
$(RELATIVE_LINK2 linkage, $(I LinkageAttribute))
$(RELATIVE_LINK2 align, $(I AlignAttribute))
$(GLINK2 pragma, Pragma)
$(LINK2 #deprecated, $(D deprecated))
$(RELATIVE_LINK2 deprecated, $(D deprecated))
$(GLINK ProtectionAttribute)
$(D static)
$(LINK2 #linkage, $(D extern))
$(RELATIVE_LINK2 linkage, $(D extern))
$(D final)
$(D synchronized)
$(LINK2 #override, $(D override))
$(LINK2 #abstract, $(D abstract))
$(LINK2 #const, $(D const))
$(LINK2 #auto, $(D auto))
$(LINK2 #scope, $(D scope))
$(LINK2 #gshared, $(D __gshared))
$(LINK2 #shared, $(D shared))
$(LINK2 #immutable, $(D immutable))
$(LINK2 #inout, $(D inout))
$(LINK2 #disable, $(D @disable))
$(RELATIVE_LINK2 override, $(D override))
$(RELATIVE_LINK2 abstract, $(D abstract))
$(RELATIVE_LINK2 const, $(D const))
$(RELATIVE_LINK2 auto, $(D auto))
$(RELATIVE_LINK2 scope, $(D scope))
$(RELATIVE_LINK2 gshared, $(D __gshared))
$(RELATIVE_LINK2 shared, $(D shared))
$(RELATIVE_LINK2 immutable, $(D immutable))
$(RELATIVE_LINK2 inout, $(D inout))
$(RELATIVE_LINK2 disable, $(D @disable))


$(GNAME DeclarationBlock):
Expand Down
2 changes: 1 addition & 1 deletion comparison.dd
Expand Up @@ -17,7 +17,7 @@ $(COMMUNITY $(B D) vs Other Languages,
$(TABLE2 D Language Feature Comparison Table,
$(THEAD Feature, $(LINK2 /, $(B D)))
$(TROW
$(ARGS $(LINK2 #GarbageCollection, Garbage Collection))
$(ARGS $(RELATIVE_LINK2 GarbageCollection, Garbage Collection))
$(YES1 garbage.html)
)
$(TR
Expand Down
2 changes: 1 addition & 1 deletion const-faq.dd
Expand Up @@ -290,5 +290,5 @@ Macros:
TITLE=const(FAQ)
WIKI=constFAQ
CATEGORY_FAQ=$0
ITEMR=$(LI $(LINK2 #$1, $+))
ITEMR=$(LI $(RELATIVE_LINK2 $1, $+))
ITEM=<hr>$(H3 <a name="$1">$+</a>)
110 changes: 55 additions & 55 deletions cpp0x.dd
Expand Up @@ -19,67 +19,67 @@ $(COMMUNITY D and C++0x,
$(SECTION3 Proposed C++0x Features,

$(UL
$(LI $(LINK2 #rvalue-reference, A Proposal to Add an Rvalue Reference to the C++ Language))
$(LI $(LINK2 #class-rvalue, Clarification of Initialization of Class Objects by rvalues))
$(LI $(LINK2 #move-semantics, Extending Move Semantics To *this (Revision 2)))
$(LI $(LINK2 #static-assert, static_assert))
$(LI $(LINK2 #template-aliases, Template aliases for C++))
$(LI $(LINK2 #extern-template, Extern template))
$(LI $(LINK2 #variadic-templates, Variadic Templates))
$(LI $(LINK2 #variadic-template-templates, Extending Variadic Template Template Parameters))
$(LI $(LINK2 #nullptr, A name for the null pointer: nullptr))
$(LI $(LINK2 #strong-enums, Strongly Typed Enums))
$(LI $(LINK2 #extended-friends, Extended friend Declarations))
$(LI $(LINK2 #constant-expressions, Generalized Constant Expressions))
$(LI $(LINK2 #namespace-association, Namespace Association ("Strong Using")))
$(LI $(LINK2 #c99-preprocessor, Synchronizing the C++ preprocessor with C99))
$(LI $(LINK2 #alignment, Adding Alignment Support to the C++ Programming Language))
$(LI $(LINK2 #conditional, Conditionally-Supported Behavior))
$(LI $(LINK2 #undefined-behavior, Changing Undefined Behavior into Diagnosable Errors))
$(LI $(LINK2 #long-long, Adding the long long type to C++))
$(LI $(LINK2 #extended-integer-types, Adding extended integer types to C++))
$(LI $(LINK2 #delegating-ctors, Delegating Constructors))
$(LI $(LINK2 #explicit-conversion, Explicit Conversion Operators))
$(LI $(LINK2 #char16_t, New Character Types in C++))
$(LI $(LINK2 #right-angle-brackets, Right Angle Brackets))
$(LI $(LINK2 #type-deduction, Deducing the type of variable from its initializer expression))
$(LI $(LINK2 #auto-declarations, The Syntax of auto Declarations))
$(LI $(LINK2 #inheriting-ctors, Inheriting Constructors))
$(LI $(LINK2 #sequence-points, A finer-grained alternative to sequence points))
$(LI $(LINK2 #lambda, (monomorphic) Lambda expressions and closures for C++))
$(LI $(LINK2 #__func__, Proposed addition of __func__ predefined identifier from C99))
$(LI $(LINK2 #atomic, Atomic operations with multi-threaded environments))
$(LI $(LINK2 #concurrency, Sequencing and the concurrency memory model))
$(LI $(LINK2 #raw-strings, Raw String Literals))
$(LI $(LINK2 #pod, PODs unstrung))
$(LI $(LINK2 #exceptions, Propagating exceptions when joining threads))
$(LI $(LINK2 #decltype, Decltype))
$(LI $(LINK2 #sizeof, Extending sizeof))
$(LI $(LINK2 #utf8-literals, UTF8 Literals))
$(LI $(LINK2 #ucs-in-literals, Universal Character Names in Literals))
$(LI $(LINK2 #defaulted, Defaulted and Deleted Functions))
$(LI $(LINK2 #unions, Unrestricted Unions))
$(LI $(LINK2 #library, A Multi-threading Library for Standard C++))
$(LI $(LINK2 #abandoning, Abandoning a Process))
$(LI $(LINK2 #return-types, New function declaration syntax for deduced return types))
$(LI $(LINK2 #atomic-signals, Allow atomics use in signal handlers))
$(LI $(RELATIVE_LINK2 rvalue-reference, A Proposal to Add an Rvalue Reference to the C++ Language))
$(LI $(RELATIVE_LINK2 class-rvalue, Clarification of Initialization of Class Objects by rvalues))
$(LI $(RELATIVE_LINK2 move-semantics, Extending Move Semantics To *this (Revision 2)))
$(LI $(RELATIVE_LINK2 static-assert, static_assert))
$(LI $(RELATIVE_LINK2 template-aliases, Template aliases for C++))
$(LI $(RELATIVE_LINK2 extern-template, Extern template))
$(LI $(RELATIVE_LINK2 variadic-templates, Variadic Templates))
$(LI $(RELATIVE_LINK2 variadic-template-templates, Extending Variadic Template Template Parameters))
$(LI $(RELATIVE_LINK2 nullptr, A name for the null pointer: nullptr))
$(LI $(RELATIVE_LINK2 strong-enums, Strongly Typed Enums))
$(LI $(RELATIVE_LINK2 extended-friends, Extended friend Declarations))
$(LI $(RELATIVE_LINK2 constant-expressions, Generalized Constant Expressions))
$(LI $(RELATIVE_LINK2 namespace-association, Namespace Association ("Strong Using")))
$(LI $(RELATIVE_LINK2 c99-preprocessor, Synchronizing the C++ preprocessor with C99))
$(LI $(RELATIVE_LINK2 alignment, Adding Alignment Support to the C++ Programming Language))
$(LI $(RELATIVE_LINK2 conditional, Conditionally-Supported Behavior))
$(LI $(RELATIVE_LINK2 undefined-behavior, Changing Undefined Behavior into Diagnosable Errors))
$(LI $(RELATIVE_LINK2 long-long, Adding the long long type to C++))
$(LI $(RELATIVE_LINK2 extended-integer-types, Adding extended integer types to C++))
$(LI $(RELATIVE_LINK2 delegating-ctors, Delegating Constructors))
$(LI $(RELATIVE_LINK2 explicit-conversion, Explicit Conversion Operators))
$(LI $(RELATIVE_LINK2 char16_t, New Character Types in C++))
$(LI $(RELATIVE_LINK2 right-angle-brackets, Right Angle Brackets))
$(LI $(RELATIVE_LINK2 type-deduction, Deducing the type of variable from its initializer expression))
$(LI $(RELATIVE_LINK2 auto-declarations, The Syntax of auto Declarations))
$(LI $(RELATIVE_LINK2 inheriting-ctors, Inheriting Constructors))
$(LI $(RELATIVE_LINK2 sequence-points, A finer-grained alternative to sequence points))
$(LI $(RELATIVE_LINK2 lambda, (monomorphic) Lambda expressions and closures for C++))
$(LI $(RELATIVE_LINK2 __func__, Proposed addition of __func__ predefined identifier from C99))
$(LI $(RELATIVE_LINK2 atomic, Atomic operations with multi-threaded environments))
$(LI $(RELATIVE_LINK2 concurrency, Sequencing and the concurrency memory model))
$(LI $(RELATIVE_LINK2 raw-strings, Raw String Literals))
$(LI $(RELATIVE_LINK2 pod, PODs unstrung))
$(LI $(RELATIVE_LINK2 exceptions, Propagating exceptions when joining threads))
$(LI $(RELATIVE_LINK2 decltype, Decltype))
$(LI $(RELATIVE_LINK2 sizeof, Extending sizeof))
$(LI $(RELATIVE_LINK2 utf8-literals, UTF8 Literals))
$(LI $(RELATIVE_LINK2 ucs-in-literals, Universal Character Names in Literals))
$(LI $(RELATIVE_LINK2 defaulted, Defaulted and Deleted Functions))
$(LI $(RELATIVE_LINK2 unions, Unrestricted Unions))
$(LI $(RELATIVE_LINK2 library, A Multi-threading Library for Standard C++))
$(LI $(RELATIVE_LINK2 abandoning, Abandoning a Process))
$(LI $(RELATIVE_LINK2 return-types, New function declaration syntax for deduced return types))
$(LI $(RELATIVE_LINK2 atomic-signals, Allow atomics use in signal handlers))
)

$(UL
$(LI $(LINK2 #local-classes, Making Local Classes more Useful))
$(LI $(LINK2 #initializer-lists, Initializer lists))
$(LI $(LINK2 #thread-local-storage, Thread-Local Storage))
$(LI $(LINK2 #member-initializers, Member Initializers))
$(LI $(LINK2 #concepts, Concepts (unified proposal)))
$(LI $(LINK2 #for-loop, Proposal for new for-loop))
$(LI $(LINK2 #general-attributes, General Attributes for C++))
$(LI $(RELATIVE_LINK2 local-classes, Making Local Classes more Useful))
$(LI $(RELATIVE_LINK2 initializer-lists, Initializer lists))
$(LI $(RELATIVE_LINK2 thread-local-storage, Thread-Local Storage))
$(LI $(RELATIVE_LINK2 member-initializers, Member Initializers))
$(LI $(RELATIVE_LINK2 concepts, Concepts (unified proposal)))
$(LI $(RELATIVE_LINK2 for-loop, Proposal for new for-loop))
$(LI $(RELATIVE_LINK2 general-attributes, General Attributes for C++))
)

$(UL
$(LI $(LINK2 #extensible-literals, Extensible Literals))
$(LI $(LINK2 #dynamic-concurrency, Dynamic initialization and concurrency))
$(LI $(LINK2 #garbage-collection, Minimal Support for Garbage Collection and Reachability-Based Leak Detection))
$(LI $(LINK2 #forward-enums, Forward declaration of enumerations))
$(LI $(RELATIVE_LINK2 extensible-literals, Extensible Literals))
$(LI $(RELATIVE_LINK2 dynamic-concurrency, Dynamic initialization and concurrency))
$(LI $(RELATIVE_LINK2 garbage-collection, Minimal Support for Garbage Collection and Reachability-Based Leak Detection))
$(LI $(RELATIVE_LINK2 forward-enums, Forward declaration of enumerations))
)
)

Expand Down
2 changes: 1 addition & 1 deletion cppstrings.dd
Expand Up @@ -386,7 +386,7 @@ int main (char[][] args)
template library,
<a href="http://groups.google.com/group/comp.lang.c++.moderated/msg/58b6b8710ecc82e9">wccpp1</a>
and
$(LINK2 #wccpp2, wccpp2).
$(RELATIVE_LINK2 wccpp2, wccpp2).
The input file
$(LINK2 http://www.gutenberg.org/files/11/old/alice30.txt, alice30.txt)
is the text of "Alice in Wonderland."
Expand Down
24 changes: 12 additions & 12 deletions cpptod.dd
Expand Up @@ -13,18 +13,18 @@ corresponding task in D.)
See also: <a href="ctod.html">Programming in D for C Programmers</a>

$(UL
$(LI $(LINK2 #constructors, Defining Constructors))
$(LI $(LINK2 #baseclass, Base class initialization))
$(LI $(LINK2 #structcmp, Comparing structs))
$(LI $(LINK2 #typedefs, Creating a new typedef'd type))
$(LI $(LINK2 #friends, Friends))
$(LI $(LINK2 #operatoroverloading, Operator overloading))
$(LI $(LINK2 #usingdeclaration, Namespace using declarations))
$(LI $(LINK2 #raii, RAII (Resource Acquisition Is Initialization)))
$(LI $(LINK2 #properties, Properties))
$(LI $(LINK2 #recursivetemplates, Recursive Templates))
$(LI $(LINK2 #metatemplates, Meta Templates))
$(LI $(LINK2 #typetraits, Type Traits))
$(LI $(RELATIVE_LINK2 constructors, Defining Constructors))
$(LI $(RELATIVE_LINK2 baseclass, Base class initialization))
$(LI $(RELATIVE_LINK2 structcmp, Comparing structs))
$(LI $(RELATIVE_LINK2 typedefs, Creating a new typedef'd type))
$(LI $(RELATIVE_LINK2 friends, Friends))
$(LI $(RELATIVE_LINK2 operatoroverloading, Operator overloading))
$(LI $(RELATIVE_LINK2 usingdeclaration, Namespace using declarations))
$(LI $(RELATIVE_LINK2 raii, RAII (Resource Acquisition Is Initialization)))
$(LI $(RELATIVE_LINK2 properties, Properties))
$(LI $(RELATIVE_LINK2 recursivetemplates, Recursive Templates))
$(LI $(RELATIVE_LINK2 metatemplates, Meta Templates))
$(LI $(RELATIVE_LINK2 typetraits, Type Traits))
)


Expand Down
74 changes: 37 additions & 37 deletions ctod.dd
Expand Up @@ -25,43 +25,43 @@ $(LINK2 pretod.html, The C Preprocessor vs D).
)

$(UL
$(LI $(LINK2 #sizeof, Getting the Size of a Type))
$(LI $(LINK2 #maxmin, Get the max and min values of a type))
$(LI $(LINK2 #types, Primitive Types))
$(LI $(LINK2 #floating, Special Floating Point Values))
$(LI $(LINK2 #modulus, Remainder after division of floating point numbers))
$(LI $(LINK2 #nans, Dealing with NANs in floating point compares))
$(LI $(LINK2 #assert, Asserts))
$(LI $(LINK2 #arrayinit, Initializing all elements of an array))
$(LI $(LINK2 #arrayloop, Looping through an array))
$(LI $(LINK2 #arraycreate, Creating an array of variable size))
$(LI $(LINK2 #strcat, String Concatenation))
$(LI $(LINK2 #printf, Formatted printing))
$(LI $(LINK2 #forwardfunc, Forward referencing functions))
$(LI $(LINK2 #funcvoid, Functions that have no arguments))
$(LI $(LINK2 #labeledbreak, Labeled break and continue statements))
$(LI $(LINK2 #goto, Goto Statements))
$(LI $(LINK2 #tagspace, Struct tag name space))
$(LI $(LINK2 #stringlookup, Looking up strings))
$(LI $(LINK2 #align, Setting struct member alignment))
$(LI $(LINK2 #anonymous, Anonymous Structs and Unions))
$(LI $(LINK2 #declaring, Declaring struct types and variables))
$(LI $(LINK2 #fieldoffset, Getting the offset of a struct member))
$(LI $(LINK2 #unioninit, Union initializations))
$(LI $(LINK2 #structinit, Struct initializations))
$(LI $(LINK2 #arrayinit2, Array initializations))
$(LI $(LINK2 #stringlit, Escaped String Literals))
$(LI $(LINK2 #ascii, Ascii vs Wide Characters))
$(LI $(LINK2 #arrayenum, Arrays that parallel an enum))
$(LI $(LINK2 #typedefs, Creating a new type with typedef))
$(LI $(LINK2 #structcmp, Comparing structs))
$(LI $(LINK2 #stringcmp, Comparing strings))
$(LI $(LINK2 #sort, Sorting arrays))
$(LI $(LINK2 #strings, String literals))
$(LI $(LINK2 #traversal, Data Structure Traversal))
$(LI $(LINK2 #ushr, Unsigned Right Shift))
$(LI $(LINK2 #closures, Dynamic Closures))
$(LI $(LINK2 #variadic, Variadic Function Parameters))
$(LI $(RELATIVE_LINK2 sizeof, Getting the Size of a Type))
$(LI $(RELATIVE_LINK2 maxmin, Get the max and min values of a type))
$(LI $(RELATIVE_LINK2 types, Primitive Types))
$(LI $(RELATIVE_LINK2 floating, Special Floating Point Values))
$(LI $(RELATIVE_LINK2 modulus, Remainder after division of floating point numbers))
$(LI $(RELATIVE_LINK2 nans, Dealing with NANs in floating point compares))
$(LI $(RELATIVE_LINK2 assert, Asserts))
$(LI $(RELATIVE_LINK2 arrayinit, Initializing all elements of an array))
$(LI $(RELATIVE_LINK2 arrayloop, Looping through an array))
$(LI $(RELATIVE_LINK2 arraycreate, Creating an array of variable size))
$(LI $(RELATIVE_LINK2 strcat, String Concatenation))
$(LI $(RELATIVE_LINK2 printf, Formatted printing))
$(LI $(RELATIVE_LINK2 forwardfunc, Forward referencing functions))
$(LI $(RELATIVE_LINK2 funcvoid, Functions that have no arguments))
$(LI $(RELATIVE_LINK2 labeledbreak, Labeled break and continue statements))
$(LI $(RELATIVE_LINK2 goto, Goto Statements))
$(LI $(RELATIVE_LINK2 tagspace, Struct tag name space))
$(LI $(RELATIVE_LINK2 stringlookup, Looking up strings))
$(LI $(RELATIVE_LINK2 align, Setting struct member alignment))
$(LI $(RELATIVE_LINK2 anonymous, Anonymous Structs and Unions))
$(LI $(RELATIVE_LINK2 declaring, Declaring struct types and variables))
$(LI $(RELATIVE_LINK2 fieldoffset, Getting the offset of a struct member))
$(LI $(RELATIVE_LINK2 unioninit, Union initializations))
$(LI $(RELATIVE_LINK2 structinit, Struct initializations))
$(LI $(RELATIVE_LINK2 arrayinit2, Array initializations))
$(LI $(RELATIVE_LINK2 stringlit, Escaped String Literals))
$(LI $(RELATIVE_LINK2 ascii, Ascii vs Wide Characters))
$(LI $(RELATIVE_LINK2 arrayenum, Arrays that parallel an enum))
$(LI $(RELATIVE_LINK2 typedefs, Creating a new type with typedef))
$(LI $(RELATIVE_LINK2 structcmp, Comparing structs))
$(LI $(RELATIVE_LINK2 stringcmp, Comparing strings))
$(LI $(RELATIVE_LINK2 sort, Sorting arrays))
$(LI $(RELATIVE_LINK2 strings, String literals))
$(LI $(RELATIVE_LINK2 traversal, Data Structure Traversal))
$(LI $(RELATIVE_LINK2 ushr, Unsigned Right Shift))
$(LI $(RELATIVE_LINK2 closures, Dynamic Closures))
$(LI $(RELATIVE_LINK2 variadic, Variadic Function Parameters))
)

<hr><!-- -------------------------------------------- -->
Expand Down
34 changes: 17 additions & 17 deletions dcompiler.dd
Expand Up @@ -15,21 +15,21 @@ $(D_S dmd - $(WINDOWS Windows)$(LINUX Linux)$(OSX Mac OS X)$(FREEBSD FreeBSD) D
$(FREEBSD $(LI dmd for $(LINK2 dmd-windows.html, Windows)))
$(FREEBSD $(LI dmd for $(LINK2 dmd-linux.html, Linux)))
$(FREEBSD $(LI dmd for $(LINK2 dmd-osx.html, OSX)))
$(LI $(LINK2 #requirements, Requirements and Downloads))
$(LI $(LINK2 #files, Files))
$(LI $(LINK2 #installation, Installation))
$(WINDOWS $(LI $(LINK2 #example, Example)))
$(LI $(LINK2 #switches, Compiler Arguments and Switches))
$(LI $(LINK2 #linking, Linking))
$(LI $(LINK2 #environment, Environment Variables))
$(WINDOWS $(LI $(LINK2 #sc_ini, sc.ini Initialization File)))
$(LI $(RELATIVE_LINK2 requirements, Requirements and Downloads))
$(LI $(RELATIVE_LINK2 files, Files))
$(LI $(RELATIVE_LINK2 installation, Installation))
$(WINDOWS $(LI $(RELATIVE_LINK2 example, Example)))
$(LI $(RELATIVE_LINK2 switches, Compiler Arguments and Switches))
$(LI $(RELATIVE_LINK2 linking, Linking))
$(LI $(RELATIVE_LINK2 environment, Environment Variables))
$(WINDOWS $(LI $(RELATIVE_LINK2 sc_ini, sc.ini Initialization File)))
$(UNIX $(LI $(DMD_CONF) Initialization File))
$(WINDOWS $(LI $(LINK2 #problems, Common Installation Problems)))
$(LI $(LINK2 #differences, Differences between Windows and Linux versions))
$(LI $(LINK2 #interface_files, D Interface Files))
$(LI $(LINK2 #library, Building Libraries))
$(LI $(LINK2 #compiling_dmd, Compiling dmd))
$(LI $(LINK2 #compiling_phobos, Compiling Phobos))
$(WINDOWS $(LI $(RELATIVE_LINK2 problems, Common Installation Problems)))
$(LI $(RELATIVE_LINK2 differences, Differences between Windows and Linux versions))
$(LI $(RELATIVE_LINK2 interface_files, D Interface Files))
$(LI $(RELATIVE_LINK2 library, Building Libraries))
$(LI $(RELATIVE_LINK2 compiling_dmd, Compiling dmd))
$(LI $(RELATIVE_LINK2 compiling_phobos, Compiling Phobos))
)

$(H2 $(LNAME2 requirements, Requirements and Downloads))
Expand Down Expand Up @@ -344,7 +344,7 @@ $(H2 $(LNAME2 switches, Compiler Arguments and Switches))
)
$(TR
$(TD $(B .di))
$(TD $(LINK2 #interface_files, D interface files))
$(TD $(RELATIVE_LINK2 interface_files, D interface files))
)
$(TR
$(TD $(B .$(OBJEXT)))
Expand Down Expand Up @@ -480,7 +480,7 @@ $(WINDOWS
)

$(SWITCH $(B -H),
generate $(LINK2 #interface_files, D interface file)
generate $(RELATIVE_LINK2 interface_files, D interface file)
)

$(SWITCH $(B -Hd)$(I dir),
Expand Down Expand Up @@ -1070,6 +1070,6 @@ Macros:
TITLE=DMD Compiler for $(WINDOWS Windows)$(LINUX Linux)$(OSX OSX)$(FREEBSD FreeBSD)
WIKI=DCompiler
LIB=$(WINDOWS phobos.lib)$(UNIX libphobos2.a)
DMD_CONF=$(LINK2 #dmd_conf, dmd.conf)
DMD_CONF=$(RELATIVE_LINK2 dmd_conf, dmd.conf)
SWITCH=$(DT $1)$(DD $+)
CATEGORY_DOWNLOAD=$0
2 changes: 1 addition & 1 deletion declaration.dd
Expand Up @@ -119,7 +119,7 @@ $(MULTICOLS 5, $(D abstract)
$(GLINK TypeCtor)
$(D deprecated)
$(D enum)
$(LINK2 #extern, $(D extern))
$(RELATIVE_LINK2 extern, $(D extern))
$(D final)
$(D nothrow)
$(D override)
Expand Down
2 changes: 1 addition & 1 deletion deprecate.dd
Expand Up @@ -678,7 +678,7 @@ $(H4 Rationale)
)

Macros:
DEPLINK=$(LINK2 #$0, $0)
DEPLINK=$(RELATIVE_LINK2 $0, $0)
DEPLINK2=$(LINK2 $1.html#$2, $2)
DEPNAME=$(LNAME2 $0, $0)
TITLE=Deprecated Features
Expand Down

0 comments on commit dedf3cc

Please sign in to comment.