Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Turn on markdown for druntime doc build #3016

Merged
merged 1 commit into from Apr 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion posix.mak
Expand Up @@ -65,7 +65,7 @@ LINKDL=$(if $(findstring $(OS),linux),-L-ldl,)

MAKEFILE = $(firstword $(MAKEFILE_LIST))

DDOCFLAGS=-conf= -c -w -o- -Isrc -Iimport -version=CoreDdoc
DDOCFLAGS=-conf= -c -w -o- -Isrc -Iimport -version=CoreDdoc -preview=markdown

# Set CFLAGS
CFLAGS=$(MODEL_FLAG) -fPIC -DHAVE_UNISTD_H
Expand Down
32 changes: 16 additions & 16 deletions src/core/sys/darwin/mach/getsect.d
Expand Up @@ -44,15 +44,15 @@ version (CoreDdoc)
* Returns the section data of the given section in the given segment in the
* mach executable it is linked into.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
* int size;
* assert(getsectdata("__TEXT", "__text", &size));
* assert(size > 0);
* }
* ___
* ---
*
* Params:
* segname = the name of the segment
Expand All @@ -74,15 +74,15 @@ version (CoreDdoc)
* Returns the section data of the given section in the given segment in the
* given framework.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
* int size;
* assert(getsectdatafromFramework("Foundation", "__TEXT", "__text", &size));
* assert(size > 0);
* }
* ___
* ---
*
* Params:
* FrameworkName = the name of the framework to get the section data from
Expand Down Expand Up @@ -115,13 +115,13 @@ version (CoreDdoc)
* Returns the section structure of the given section in the given segment
* in the mach executable it is linked into.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
* assert(getsectbyname("__TEXT", "__text"));
* }
* ___
* ---
*
* Params:
* segname = the name of the segment
Expand All @@ -140,7 +140,7 @@ version (CoreDdoc)
* Returns the section data of the given section in the given segment in the
* image pointed to by the given mach header.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
Expand All @@ -151,7 +151,7 @@ version (CoreDdoc)
* assert(getsectdata(mph, "__TEXT", "__text", &size));
* assert(size > 0);
* }
* ___
* ---
*
* Params:
* mhp = the mach header to get the section data from
Expand All @@ -175,13 +175,13 @@ version (CoreDdoc)
* Returns the segment structure of the given segment in the mach executable
* it is linked into.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
* assert(getsegbyname("__TEXT"));
* }
* ___
* ---
*
* Params:
* segname = the name of the segment
Expand All @@ -198,7 +198,7 @@ version (CoreDdoc)
* Returns the segment data of the given segment in the image pointed to by
* the given mach header.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
Expand All @@ -209,7 +209,7 @@ version (CoreDdoc)
* assert(getsegmentdata(mph, "__TEXT", &size));
* assert(size > 0);
* }
* ___
* ---
*
* Params:
* mhp = the mach header to get the section data from
Expand All @@ -236,7 +236,7 @@ version (CoreDdoc)
* Returns the section data of the given section in the given segment in the
* image pointed to by the given mach header.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
Expand All @@ -247,7 +247,7 @@ version (CoreDdoc)
* assert(getsectdatafromheader(mph, "__TEXT", "__text", &size));
* assert(size > 0);
* }
* ___
* ---
*
* Params:
* mhp = the mach header to get the section data from
Expand Down Expand Up @@ -280,7 +280,7 @@ version (CoreDdoc)
* Returns the section structure of the given section in the given segment
* in image pointed to by the given mach header.
*
* ___
* ---
* void main()
* {
* import core.sys.darwin.mach.getsect;
Expand All @@ -289,7 +289,7 @@ version (CoreDdoc)
* auto mph = _NSGetMachExecuteHeader();
* assert(getsectbynamefromheader(mph, "__TEXT", "__text"));
* }
* ___
* ---
*
* Params:
* mhp = the mach header to get the section from
Expand Down
6 changes: 3 additions & 3 deletions src/rt/dwarfeh.d
Expand Up @@ -746,9 +746,9 @@ LsdaResult scanLSDA(const(ubyte)* lsda, _Unwind_Ptr ip, _Unwind_Exception_Class
* exceptionClass = which language threw the exception
* lsda = pointer to LSDA table
* Returns:
* >=1 means the handler index of the classType
* 0 means classType is not in the Action Table
* <0 means corrupt
* - &gt;=1 means the handler index of the classType
* - 0 means classType is not in the Action Table
* - &lt;0 means corrupt
schveiguy marked this conversation as resolved.
Show resolved Hide resolved
*/
int actionTableLookup(_Unwind_Exception* exceptionObject, uint actionRecordPtr, const(ubyte)* pActionTable,
const(ubyte)* tt, ubyte TType, _Unwind_Exception_Class exceptionClass, const(ubyte)* lsda)
Expand Down