]> git.sur5r.net Git - cc65/blobdiff - src/ca65/condasm.h
More lineinfo usage.
[cc65] / src / ca65 / condasm.h
index 3994b3929ca8089386a3e306a71e94ae9944cc04..6718c268f8c7d6b1099096f40bd2076d728ddc59 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000      Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 2000-2003 Ullrich von Bassewitz                                       */
+/*               Römerstraße 52                                              */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 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.
  */
 
+unsigned GetIfStack (void);
+/* Get the current .IF stack pointer */
+
+void CleanupIfStack (unsigned SP);
+/* Cleanup the .IF stack, remove anything above the given stack pointer */
+
 
 
 /* End of condasm.h */