fdoc

modulefdoc_highlight

Syntax highlighting of Fortran, from fformat's tokens. Classes: k keywords and intrinsics, c comments, d doc comments, s strings, n numbers, p preprocessor lines.

Uses

Graphs

Uses

Used by

Subroutines

highlight_fortran

subroutine highlight_fortran(code, out, line_anchors)

Write code as highlighted HTML. With line_anchors, each line starts with an anchor ln-N.

line_startprivate

subroutine line_start(out, line)

Write the anchor of line line.