Skip to content

Commit 00aba08

Browse files
committed
Fix REF1 to behave analogous to the other REF macros
REF1 is currently only used once in entire DRuntime and Phobos, so maybe a special OBJECTREF macro would have been better? Anyhow, have a look at the only use of `REF1` to understand the motivation for this PR: https://dlang.org/phobos/std_file.html#.thisExePath Also there are three other PRs being blocked on this: - dlang/dmd#7342 - dlang/druntime#2082 - dlang/phobos#6140
1 parent f9fb5f8 commit 00aba08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dlang.org.ddoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ $(COMMENT
365365
(the phobos path can be different, of course).
366366
)
367367
REF=<a href="$(PHOBOS_PATH)$2$(UNDERSCORE_PREFIXED_SKIP $+).html#.$1">$(D $2$(DOT_PREFIXED_SKIP $+, $1))</a>
368-
REF1=<a href="$(PHOBOS_PATH)$2.html#.$1">$(D $2)</a>
368+
REF1=<a href="$(PHOBOS_PATH)$2.html#.$1">$(D $1)</a>
369369
_=
370370

371371
$(COMMENT

0 commit comments

Comments
 (0)