1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Fix info page building for newer linuxdoc

In ca65.sgml, the following pattern was used in tables in order to
create an empty row:

||~@

That is, the first two columns are empty, the last one has an  

Unfortunately, with newer linuxdoc, this fails, as the empty columns
create two @item directly after each other, which is not allowed.

Changing this to

~|~|~@

fixes it by adding an " " into each column.

Furthermore, the last line had a "newrow" (@) separator, which created
an artifact. Removed that one.
This commit is contained in:
Spiro Trikaliotis 2020-07-16 17:56:58 +02:00 committed by Oliver Schmidt
parent 4296cbaf82
commit 0e55d33cc3

View File

@ -622,7 +622,7 @@ problem in most cases.
<tabular ca="clc">
<bf/Operator/| <bf/Description/| <bf/Precedence/@<hline>
| Built-in string functions| 0@
||~@
~|~|~@
| Built-in pseudo-variables| 1@
| Built-in pseudo-functions| 1@
+| Unary positive| 1@
@ -635,7 +635,7 @@ problem in most cases.
.HIBYTE| Unary high-byte operator| 1@
^<newline>
.BANKBYTE| Unary bank-byte operator| 1@
||~@
~|~|~@
*| Multiplication| 2@
/| Division| 2@
.MOD| Modulo operator| 2@
@ -647,28 +647,28 @@ problem in most cases.
.SHL| Shift-left operator| 2@
&gt;&gt;<newline>
.SHR| Shift-right operator| 2@
||~@
~|~|~@
+| Binary addition| 3@
-| Binary subtraction| 3@
&verbar;<newline>
.BITOR| Bitwise or| 3@
||~@
~|~|~@
= | Compare operator (equal)| 4@
&lt;&gt;| Compare operator (not equal)| 4@
&lt;| Compare operator (less)| 4@
&gt;| Compare operator (greater)| 4@
&lt;=| Compare operator (less or equal)| 4@
&gt;=| Compare operator (greater or equal)| 4@
||~@
~|~|~@
&amp;&amp;<newline>
.AND| Boolean and| 5@
.XOR| Boolean xor| 5@
||~@
~|~|~@
&verbar;&verbar;<newline>
.OR| Boolean or| 6@
||~@
~|~|~@
!<newline>
.NOT| Boolean not| 7@<hline>
.NOT| Boolean not| 7
</tabular>
<caption>Available operators, sorted by precedence
</table>