]> git.sur5r.net Git - cc65/blobdiff - src/ca65/condasm.h
Finished implemenation of commands to delete macros. Added the new commands to
[cc65] / src / ca65 / condasm.h
index 84a2ac02603ea7c6e0ce5752fd7e1533345952c5..4973a622c666e925a05b9312c7056e0790015aeb 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000      Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 2000-2011, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 
+/*****************************************************************************/
+/*                                   Data                                    */
+/*****************************************************************************/
+
+
+
+/* The overall .IF condition */
+extern int IfCond;
+
+
+
 /*****************************************************************************/
 /*                                          Code                                    */
 /*****************************************************************************/
 void DoConditionals (void);
 /* Catch all for conditional directives */
 
+int CheckConditionals (void);
+/* Check if the current token is one that starts a conditional directive, and
+ * call DoConditionals if so. Return true if a conditional directive was found,
+ * return false otherwise.
+ */
+
 void CheckOpenIfs (void);
 /* Called from the scanner before closing an input file. Will check for any
  * open .ifs in this file.