Skip to content

Commit

Permalink
Fix two code snippets in manual
Browse files Browse the repository at this point in the history
We need to single quote these to avoid template-toolkit trying to
interpret `$`.
  • Loading branch information
ojwb committed Jan 23, 2024
1 parent 205af96 commit f986a98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/snowman.tt
Original file line number Diff line number Diff line change
Expand Up @@ -803,14 +803,14 @@ It is these numeric values of <B><I>c</I></B> and <B><I>l</I></B> which are acce
<DL>
<DT>[% highlight_inline("setmark X") %]
<DD>sets &nbsp;<code>X</code>&nbsp; to the current value of <B><I>c</I></B>, where &nbsp;<code>X</code>&nbsp; is an integer variable.
It's equivalent to: [% highlight_inline("$X = cursor") %]
It's equivalent to: [% highlight_inline('$X = cursor') %]

<DT>[% highlight_inline("tomark AE") %]
<DD>moves <B><I>c</I></B> forward to the position given by AE,

<DT>[% highlight_inline("atmark AE") %]
<DD>tests if <B><I>c</I></B> is at position AE (<B><I>t</I></B> or <B><I>f</I></B> signal).
It's equivalent to: [% highlight_inline("$(cursor == AE)") %]
It's equivalent to: [% highlight_inline('$(cursor == AE)') %]
</DL>

<p>
Expand Down

0 comments on commit f986a98

Please sign in to comment.