Skip to content

Commit

Permalink
Fix REF1 to behave analogous to the other REF macros
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wilzbach committed Feb 8, 2018
1 parent f9fb5f8 commit 00aba08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlang.org.ddoc
Expand Up @@ -365,7 +365,7 @@ $(COMMENT
(the phobos path can be different, of course).
)
REF=<a href="$(PHOBOS_PATH)$2$(UNDERSCORE_PREFIXED_SKIP $+).html#.$1">$(D $2$(DOT_PREFIXED_SKIP $+, $1))</a>
REF1=<a href="$(PHOBOS_PATH)$2.html#.$1">$(D $2)</a>
REF1=<a href="$(PHOBOS_PATH)$2.html#.$1">$(D $1)</a>
_=

$(COMMENT
Expand Down

0 comments on commit 00aba08

Please sign in to comment.