From: Dale Weiler Date: Fri, 28 Dec 2012 19:48:51 +0000 (+0000) Subject: Add the new predefined macros to the documentation X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=243efcb7b057f60bdf338cb6276b3c661643bf7d;p=xonotic%2Fgmqcc.git Add the new predefined macros to the documentation --- diff --git a/doc.html b/doc.html index 08cbd6a..6580ed2 100644 --- a/doc.html +++ b/doc.html @@ -136,6 +136,30 @@ __STD_VERSION_MAJOR__ Specifies the current selected stanadards major version number. + + __FILE__ + Expands to a const string literal of the current file (requires -fftepp-predef) + + + __LINE__ + Expands to the current line number (requires -fftepp-predef) + + + __RANDOM__ + Expands to a random number between [0, 256) (requires -fftepp-predef) + + + __COUNTER__ + Expands to a unique number, each expansion causes it to increment (requires -fftepp-predef) + + + __RANDOM_LAST__ + Expands to the last random number (requires -fftepp-predef) + + + __COUNTER_LAST__ + Expands to the last counter number (requires -fftepp-predef) +

Unsupported compatability options

@@ -180,6 +204,10 @@ -fftepp Enables FTEQ preprocessor + + -fftepp-predef + Enables additional predefined macros for the FTEQ preprocessor + -frelaxted-switch Relaxes switch statement semantics