Having unmatched parentheses can hose the output of Ddoc, as the macros depend on properly nested parentheses. This function replaces all ( with ( and ) with ) to preserve text literally. This also means macros in the text won't be expanded.
Determine if p points to the start of an identifier.
Determine if p points to the rest of an identifier.
Scan forward to one of: start of identifier beginning of next line end of buf
Return number of bytes in UTF character.
Ddoc documentation generation.
Specification: Documentation Generator