Compiler implementation of the D programming language.
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.
Parse macros out of Macros: section. Macros are of the form: name1 = value1
name2 = value2
Parse escapes of the form: /c/string/ where c is a single character. Multiple escapes can be separated by whitespace and/or commas.
Parse next paragraph out of *pcomment. Update *pcomment to point past paragraph. Returns NULL if no more paragraphs. If paragraph ends in 'identifier:', then (*pcomment)[0 .. idlen] is the identifier.
Scan forward to one of: start of identifier beginning of next line end of buf
Determine if p points to the start of an identifier.
Determine if p points to the rest of an identifier.
Return number of bytes in UTF character.
© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.