Documentation Source Text

Check-in [479052b445]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make the opcode formatter resistent to comment text that looks like hyperlinks but is really an array index.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 479052b4453cb6f3e6c155a5a605e2ad1cd4060f
User & Date: drh 2011-02-23 21:27:46.672
Context
2011-03-06
03:32
Updates to the testing page: talk of signed-integer overflow and verifying that it is not used. (check-in: 3793e03ba1 user: drh tags: trunk)
2011-02-23
21:27
Make the opcode formatter resistent to comment text that looks like hyperlinks but is really an array index. (check-in: 479052b445 user: drh tags: trunk)
21:21
Add Intuit to the list of famous users. (check-in: d45b5ab320 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to pages/opcode.in.
215
216
217
218
219
220
221

222
223
224
225
<p><table cellspacing="1" border="1" cellpadding="10">
<tr><th>Opcode&nbsp;Name</th><th>Description</th></tr>

<tcl>
  foreach op [lsort -dictionary $OpcodeList] {
    hd_puts {<tr><td valign="top" align="center">}
    hd_puts "<a name=\"$op\"></a><p>$op</p>"

    hd_resolve "<td>[string trim $Opcode($op:text)]</td></tr>"
  }
</tcl>
</table></p>







>
|



215
216
217
218
219
220
221
222
223
224
225
226
<p><table cellspacing="1" border="1" cellpadding="10">
<tr><th>Opcode&nbsp;Name</th><th>Description</th></tr>

<tcl>
  foreach op [lsort -dictionary $OpcodeList] {
    hd_puts {<tr><td valign="top" align="center">}
    hd_puts "<a name=\"$op\"></a><p>$op</p>"
    regsub -all {\[(P[0-9+]+)\]} $Opcode($op:text) {\&#91;\1\&#93} txt
    hd_resolve "<td>[string trim $txt]</td></tr>"
  }
</tcl>
</table></p>