Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Examples/eastertide.w
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void cli_switch(int id, int val, text_stream *arg, void *state) {
@ To make this a little more gratuitous, we'll give calendar files some
syntax. The following function is called on each line in turn; we're going
to trim white space, ignore blank lines, and also ignore any line beginning
withn a `#` as being a comment.
within a `#` as being a comment.

=
void calendar_line(text_stream *line, text_file_position *tfp, void *state) {
Expand Down
2 changes: 1 addition & 1 deletion docs/eastertide/eastertide.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ <h1><a href="../index.html"><img src="../docs-assets/Octagram.png" height=72> </
<p class="commentary firstcommentary"><a id="SP5" class="paragraph-anchor"></a><b>&#167;5. </b> To make this a little more gratuitous, we'll give calendar files some
syntax. The following function is called on each line in turn; we're going
to trim white space, ignore blank lines, and also ignore any line beginning
withn a <code>#</code> as being a comment.</p>
within a <code>#</code> as being a comment.</p>
</div>
<pre class="displayed-code all-displayed-code code-font">
<span class="type-syntax">void</span><span class="plain-syntax"> </span><span class="function-syntax">calendar_line</span><button class="popup" onclick="togglePopup('usagePopup3')"><span class="comment-syntax">?</span><span class="popuptext" id="usagePopup3">Usage of <span class="code-font"><span class="function-syntax">calendar_line</span></span>:<br/><a href="eastertide.html#SP4_1">&#167;4.1</a></span></button><span class="plain-syntax">(</span><span class="type-syntax">text_stream</span><span class="plain-syntax"> *</span><span class="identifier-syntax">line</span><span class="plain-syntax">, </span><span class="type-syntax">text_file_position</span><span class="plain-syntax"> *</span><span class="identifier-syntax">tfp</span><span class="plain-syntax">, </span><span class="type-syntax">void</span><span class="plain-syntax"> *</span><span class="identifier-syntax">state</span><span class="plain-syntax">) {</span>
Expand Down