XREF purge: CXREF, ECXREF, std/string.d, changelog.dd#4404
XREF purge: CXREF, ECXREF, std/string.d, changelog.dd#4404CyberShadow merged 5 commits intodlang:masterfrom
Conversation
|
The first |
d99a11d to
e31d677
Compare
Fixed. |
|
This should be last of these for phobos, by the way. |
|
Related pull requests for druntime and dmd: |
I doubt it will be a problem and if we can still reflect this during the changelog process. Also as you mentioned we will have @CyberShadow's preview for the changelog, so imho we are all good here.
Someone any last "famous" words? ;-) |
|
CC @MartinNowak |
|
@aG0aep6G tada - you've got a merge conflict :S |
Done by:
arg='\s*([^(),]*)'
from='\$\(CXREF\s'$arg','$arg'\)'
to='$(REF \2, core,\1)'
(find . -type f -name "*.d" -print0; \
find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
Done by:
arg='\s*([^(),]*)'
from='\$\(ECXREF\s'$arg','$arg'\)'
to='$(REF \2, etc,c,\1)'
(find . -type f -name "*.d" -print0; \
find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
SHORTXREF -> REF_SHORT: arg='\s*([^(),]*)' from='\$\(SHORTXREF\s'$arg','$arg'\)' to='$(REF_SHORT \2, std,\1)' sed -i -r "s/$from/$to/g" std/string.d SHORTXREF_PACK -> REF_SHORT: arg='\s*([^(),]*)' from='\$\(SHORTXREF_PACK\s'$arg','$arg','$arg'\)' to='$(REF_SHORT \3, std,\1,\2)' sed -i -r "s/$from/$to/g" std/string.d
e31d677 to
07ab737
Compare
:) Resolved manually. One little typo had been fixed in the meantime. |
|
Auto-merge toggled on |
Caution: This removes all ref macros from changelog.dd, making it more complicated to get a preview of the changelog. With the planned upgrades to the changelog process (one file per entry, preview via doc tester), this should not be a problem in the far future. If it's a problem in the near future, I can duplicate the different
REFvariants, of course.