]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Add the new predefined macros to the documentation
authorDale Weiler <killfieldengine@gmail.com>
Fri, 28 Dec 2012 19:48:51 +0000 (19:48 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Fri, 28 Dec 2012 19:48:51 +0000 (19:48 +0000)
doc.html

index 08cbd6aed49867b27ec96d7f703f7c036e859eff..6580ed211ad1fc57ea28ab1f29dc7a91683ca1e0 100644 (file)
--- a/doc.html
+++ b/doc.html
                         <td>__STD_VERSION_MAJOR__</td>
                         <td>Specifies the current selected stanadards major version number.</td>
                     </tr>
+                    <tr>
+                        <td>__FILE__</td>
+                        <td>Expands to a const string literal of the current file (requires -fftepp-predef)</td>
+                    </tr>
+                    <tr>
+                        <td>__LINE__</td>
+                        <td>Expands to the current line number (requires -fftepp-predef)</td>
+                    </tr>
+                    <tr>
+                        <td>__RANDOM__</td>
+                        <td>Expands to a random number between [0, 256) (requires -fftepp-predef)</td>
+                    </tr>
+                    <tr>
+                        <td>__COUNTER__</td>
+                        <td>Expands to a unique number, each expansion causes it to increment (requires -fftepp-predef) </td>
+                    </tr>
+                    <tr>
+                        <td>__RANDOM_LAST__</td>
+                        <td>Expands to the last random number (requires -fftepp-predef)</td>
+                    </tr>
+                    <tr>
+                        <td>__COUNTER_LAST__</td>
+                        <td>Expands to the last counter number (requires -fftepp-predef)</td>
+                    </tr>
                 </table>
                 <h3>Unsupported compatability options</h3>
                 <p>
                         <td>-fftepp</td>
                         <td>Enables FTEQ preprocessor</td>
                     </tr>
+                    <tr>
+                        <td>-fftepp-predef</td>
+                        <td>Enables additional predefined macros for the FTEQ preprocessor</td>
+                    </tr>
                     <tr>
                         <td>-frelaxted-switch</td>
                         <td>Relaxes switch statement semantics</td>