raz / commit dfc1eb72

commit
dfc1eb7247b7de48ff9b4d8f1a0c7020a85b616f
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
ca9f1df1
Plan and report: the module's own doc comment

patch · log

2 files changed, +5 -3

PLAN.md (history) modified +3 -2

@@ -129,8 +129,9 @@
129129
130130 Tools
131131
132-- [ ] 15. `tools/Doc.jed`, a jed program: prints a module's exported
133- declarations, each with the comment just before it, and pulls
132+- [ ] 15. `tools/Doc.jed`, a jed program: prints a module's own
133+ comment, the one before `module`, then its exported
134+ declarations, each with the comment just before it; and pulls
134135 out the examples of `doc/jed.md` that are whole modules.
135136 `make check` also compiles those examples, running the ones with
136137 a `main`, and runs each library module's `main` as its test.

doc/jed.md modified +2 -1

@@ -78,7 +78,8 @@
7878 Error messages give the line and the column, counted in characters.
7979
8080 **Comments** are `(*` ... `*)` and nest. By convention, the comment
81-just before an exported declaration is its documentation.
81+just before an exported declaration is its documentation, and the one
82+before `module` is the module's.
8283
8384 **Operators and delimiters:**
8485