ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:acc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
new:acc [2018/02/20 16:03] – created korshunnew:acc [2018/02/20 18:19] (current) korshun
Line 1: Line 1:
 ====== ACC ====== ====== ACC ======
  
-ACC is the official ACS compiler.+  * **[[https://github.com/rheit/acc/|GitHub]]** 
 +  * **[[https://zdoom.org/downloads|Download]]**
  
-  * [[https://zdoom.org/downloads|Download]] +ACC is the official ACS compiler.  
-  * [[https://github.com/rheit/acc/|GitHub]]+
  
 ===== Caveats ===== ===== Caveats =====
Line 22: Line 22:
 </code> </code>
  
-Local variables can't have the same names as any global names (function, constant, variable names). Unlike other compilers, local variable names don't shadow the global names, but trigger a compiler error.+Local variables can't have the same names as any global names (function, constant, variable names). Unlike other compilers, local variable names don't shadow the respective global names, but trigger a compiler error
 + 
 +==== (void) is mandatory ==== 
 + 
 +<code> 
 +function void f(void) {} // OK 
 +function void g() {} // ERROR 
 +</code> 
 + 
 +For some reason, writing ''(void)'' for empty argument lists is mandatory, unlike other compilers.
  
 ==== No "fixed" type ==== ==== No "fixed" type ====
new/acc.1519135427.txt.gz · Last modified: 2018/02/20 16:03 by korshun