mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-21 10:51:10 +00:00
Some changes to the online documentation
This commit is contained in:
parent
a17492376e
commit
56c0fa48c8
1 changed files with 36 additions and 9 deletions
45
doc.html
45
doc.html
|
@ -655,14 +655,10 @@ $ cd gmqcc
|
|||
</tr>
|
||||
<tr>
|
||||
<td>F:</td>
|
||||
<td>Used to set a failure message, this message will be displayed
|
||||
if the test fails, this tag is optional.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>S:</td>
|
||||
<td>Used to set a success message, this message will be displayed
|
||||
if the test succeeds, this tag is optional.
|
||||
</td>
|
||||
<td>Used to set test-suite specific flags, currently
|
||||
the only supported flag is -no-defs which tells the
|
||||
testsuite to exclude defs.qh.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>T:</td>
|
||||
|
@ -676,6 +672,8 @@ $ cd gmqcc
|
|||
<li>-fail
|
||||
This will perform compilation on the requirement it fails, otherwise
|
||||
the test fails</li>
|
||||
<li>-pp
|
||||
This will perform preprocessing only</li>
|
||||
</ul>
|
||||
|
||||
This tag must be provided, this tag is NOT optional.
|
||||
|
@ -697,7 +695,7 @@ $ cd gmqcc
|
|||
<td>Used to describe a string of text that should be matched from
|
||||
the output of executing the task. If this doesn't match the
|
||||
task fails. This tag must be provided at least once if
|
||||
T == -execute, otherwise it's erroneous as compilation only
|
||||
T == -execute or T == -pp, otherwise it's erroneous as compilation only
|
||||
takes place. Multiple M tags are required for multi-line comparision
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -773,6 +771,10 @@ $ cd gmqcc
|
|||
<td>Argument</td>
|
||||
<td>What it does</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>-h, --help</td>
|
||||
<td>Print help message</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>-trace</td>
|
||||
<td>Trace the execution call hierarchy.</td>
|
||||
|
@ -789,6 +791,10 @@ $ cd gmqcc
|
|||
<td>-disasm</td>
|
||||
<td>Dissasemble the bytecode into assembly.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>-diasm-func</td>
|
||||
<td>Dissasmble function</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>-printdefs</td>
|
||||
<td>Prints all definitions for the bytecode running.</td>
|
||||
|
@ -797,6 +803,22 @@ $ cd gmqcc
|
|||
<td>-printfields</td>
|
||||
<td>Prints all fields for the bytecode running.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>-printfuns</td>
|
||||
<td>Prints all functions for the bytecode running.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>-v</td>
|
||||
<td>Be verbose</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>-v</td>
|
||||
<td>Be even more verbose</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>-version, --version</td>
|
||||
<td>Print version information</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3>Builtins</h3>
|
||||
|
@ -815,6 +837,11 @@ $ cd gmqcc
|
|||
<tr><td>vlen</td><td>7</td></tr>
|
||||
<tr><td>etos</td><td>8</td></tr>
|
||||
<tr><td>stof</td><td>9</td></tr>
|
||||
<tr><td>strcat</td><td>10</td></tr>
|
||||
<tr><td>strcmp</td><td>11</td></tr>
|
||||
<tr><td>normalize</td><td>12</td></tr>
|
||||
<tr><td>sqrt</td><td>13</td></tr>
|
||||
<tr><td>floor</td><td>14</td></tr>
|
||||
</table>
|
||||
</p>
|
||||
<h3>Support or Contact</h3>
|
||||
|
|
Loading…
Reference in a new issue