]> git.sur5r.net Git - cc65/blobdiff - src/cc65/funcdesc.c
Merge remote-tracking branch 'upstream/master' into a5200
[cc65] / src / cc65 / funcdesc.c
index cccff02c2fe8ac4a3db9f4925cd896e89625ff0f..b9561a97cc4d6a68040a33d2ceadb0f61125f1a7 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                               funcdesc.c                                 */
+/*                                funcdesc.c                                 */
 /*                                                                           */
-/*          Function descriptor structure for the cc65 C compiler           */
+/*           Function descriptor structure for the cc65 C compiler           */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
 
 /* common */
 #include "xmalloc.h"
-         
+
 /* cc65 */
 #include "funcdesc.h"
 
 
 
 /*****************************************************************************/
-/*                                  Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -54,11 +54,12 @@ FuncDesc* NewFuncDesc (void)
     FuncDesc* F = (FuncDesc*) xmalloc (sizeof (FuncDesc));
 
     /* Nullify the fields */
-    F->Flags     = 0;
-    F->SymTab    = 0;
-    F->TagTab    = 0;
+    F->Flags      = 0;
+    F->SymTab     = 0;
+    F->TagTab     = 0;
     F->ParamCount = 0;
     F->ParamSize  = 0;
+    F->LastParam  = 0;
 
     /* Return the new struct */
     return F;
@@ -72,6 +73,3 @@ void FreeFuncDesc (FuncDesc* F)
     /* Free the structure */
     xfree (F);
 }
-
-
-