]> git.sur5r.net Git - cc65/blobdiff - src/common/scopedefs.h
Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document.
[cc65] / src / common / scopedefs.h
index b36b788d684c928ded9e4b9ea51c4038b64a63f3..31e493f2b0964116ea5a737ba21b170d91949da4 100644 (file)
@@ -1,6 +1,6 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                symdefs.h                                 */
+/*                                 symdefs.h                                 */
 /*                                                                           */
 /*               Scope definitions for the bin65 binary utils                */
 /*                                                                           */
@@ -39,7 +39,7 @@
 
 
 /*****************************************************************************/
-/*                                          Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
 
 #define SCOPE_HAS_SIZE(x)       (((x) & SCOPE_MASK_SIZE) == SCOPE_SIZE)
 
+/* Does the scope has a label? */
+#define SCOPE_UNLABELED         0x00U   /* Scope has no label */
+#define SCOPE_LABELED           0x02U   /* Scope has a label */
+#define SCOPE_MASK_LABEL        0x02U   /* Label size */
+
+#define SCOPE_HAS_LABEL(x)      (((x) & SCOPE_MASK_LABEL) == SCOPE_LABELED)
+
+
 
 /* Scope types */
 enum {
@@ -68,6 +76,3 @@ enum {
 /* End of scopedefs.h */
 
 #endif
-
-
-