]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - README
Fixes to README
[xonotic/gmqcc.git] / README
diff --git a/README b/README
index f18d3b001d948531ecd991e7316fe5e912a308c5..b9f3a27892ebc7e37962d0166dac82fb6040aa66 100644 (file)
--- a/README
+++ b/README
@@ -76,6 +76,12 @@ Comments:
        that you'd like to be ignored by the assembler. You can only comment
        blank lines, and not lines assembly already exists on.
        
+       Examples:
+               ; this is allowed
+               # as it this
+               FLOAT: foo 1 ; this is not allowed
+               FLOAT: bar 2 # neither is this
+       
 Functions:
        Creating functions is the same as declaring a constant, simply use
        FUNCTION followed by a colon, and the name (white space doesn't matter)
@@ -96,7 +102,7 @@ Internal:
        The Quake engine provides some internal functions such as print, to
        access these you first must declare them and their names. To do this
        you create a FUNCTION as you currently do. Adding a $ followed by the
-       number of the engine builtin will bind it to that builtin.
+       number of the engine builtin (negated).
        
        Examples:
                FUNCTION: print $4
@@ -119,3 +125,8 @@ Misc:
        
        No two identifiers can be the same name, this applies for variables allocated
        inside a function scope (despite it being considered local).
+       
+       There exists one other keyword that is considered sugar, and that
+       is AUTHOR, this keyword will allow you to speciy the AUTHOR(S) of
+       the assembly being assembled. The string represented for each usage
+       of AUTHOR is wrote to the end of the string table.