]> git.sur5r.net Git - cc65/blobdiff - src/ca65/global.c
More lineinfo usage.
[cc65] / src / ca65 / global.c
index 051845ac53f0b9fbce48cd7895a555bd252d0c8b..8435dd437986f0556dad422d1cb40eba7a4ed4db 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                global.c                                  */
+/*                                global.c                                  */
 /*                                                                           */
 /*              Global variables for the ca65 macroassembler                */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2003 Ullrich von Bassewitz                                       */
-/*               Römerstrasse 52                                             */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 1998-2010, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 
+/* common */
+#include "addrsize.h"
+
+/* ca65 */
 #include "global.h"
 
 
@@ -47,6 +51,8 @@
 const char* InFile                      = 0;   /* Name of input file */
 const char* OutFile                     = 0;   /* Name of output file */
 const char* ListFile                    = 0;   /* Name of listing file */
+StrBuf DepName     = STATIC_STRBUF_INITIALIZER; /* Dependency file */
+StrBuf FullDepName = STATIC_STRBUF_INITIALIZER; /* Full dependency file */
 
 /* Default extensions */
 const char ObjExt[]                     = ".o";/* Default object extension */
@@ -70,9 +76,13 @@ unsigned char AtInIdents         = 0;        /* Allow '@' in identifiers */
 unsigned char DollarInIdents     = 0;   /* Allow '$' in identifiers */
 unsigned char LeadingDotInIdents = 0;   /* Allow '.' to start an identifier */
 unsigned char PCAssignment       = 0;  /* Allow "* = $XXX" or "$ = $XXX" */
+unsigned char MissingCharTerm    = 0;   /* Allow lda #'a (no closing term) */
+unsigned char UbiquitousIdents   = 0;   /* Allow ubiquitous identifiers */
+unsigned char OrgPerSeg          = 0;   /* Make .org local to current seg */
+unsigned char CComments          = 0;   /* Allow C like comments */
 
 /* Misc stuff */
-const char Copyright[]           = "(C) Copyright 1998-2003 Ullrich von Bassewitz";
+const char Copyright[]           = "(C) Copyright 1998-2010 Ullrich von Bassewitz";