chiark
/
gitweb
/
~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc/sod.sty, doc/runtime.tex: Improve comment typesetting in code.
[sod]
/
doc
/
runtime.tex
diff --git
a/doc/runtime.tex
b/doc/runtime.tex
index b357f75524d3f2d4e99d57c380ad599504512805..04907636514b4ea8be2fa9245d113b12dacd0c96 100644
(file)
--- a/
doc/runtime.tex
+++ b/
doc/runtime.tex
@@
-572,11
+572,12
@@
particular keyword argument.
kw_unkhook = oldunk; \- @\\ \\
\} while (0)
\\+
kw_unkhook = oldunk; \- @\\ \\
\} while (0)
\\+
- /* Example of use */ \\
+
@
/* Example of use */ \\
int f; \\
KW_TEST(f, somefunc(1, "two", 3, KWARGS_TEST("shiny", 68.7))); \\
int f; \\
KW_TEST(f, somefunc(1, "two", 3, KWARGS_TEST("shiny", 68.7))); \\
- /\=* now f is nonzero if `somefunc' accepts the `shiny' keyword \+ \\
- {}* (which we hope wants a double argument) \\
+ /\=* \comment{now @|f| is nonzero if @|somefunc| accepts the
+ @|shiny| keyword} \+ \\
+ {}* \comment{(which we hope wants a @|double| argument)} \\
{}*/
\end{prog}
{}*/
\end{prog}