]> git.sur5r.net Git - cc65/commitdiff
New condes type interruptor
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 20 Sep 2004 10:23:57 +0000 (10:23 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 20 Sep 2004 10:23:57 +0000 (10:23 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3188 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/config.c
src/ld65/scanner.h

index 6ee1b6ad8f509134ca8918dcc684c01b9ff03fc8..608cc89492b618758982fa67bb8b995554d4bbfe 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2003 Ullrich von Bassewitz                                       */
+/* (C) 1998-2004 Ullrich von Bassewitz                                       */
 /*               Römerstrasse 52                                             */
 /*               D-70794 Filderstadt                                         */
 /* EMail:        uz@cc65.org                                                 */
@@ -1033,6 +1033,7 @@ static void ParseConDes (void)
     static const IdentTok Types [] = {
                {   "CONSTRUCTOR",      CFGTOK_CONSTRUCTOR      },
        {   "DESTRUCTOR",       CFGTOK_DESTRUCTOR       },
+        {   "INTERRUPTOR",      CFGTOK_INTERRUPTOR      },
     };
 
     static const IdentTok Orders [] = {
@@ -1113,6 +1114,7 @@ static void ParseConDes (void)
                    switch (CfgTok) {
                        case CFGTOK_CONSTRUCTOR: Type = CD_TYPE_CON;    break;
                        case CFGTOK_DESTRUCTOR:  Type = CD_TYPE_DES;    break;
+                        case CFGTOK_INTERRUPTOR: Type = CD_TYPE_INT;    break;
                        default: FAIL ("Unexpected type token");
                    }
                }
index 2af9fa1619f506c36937bf41d72b21a5a0b8e6fd..aa47586271168298080946eb2cbd36dec11e56e2 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2003 Ullrich von Bassewitz                                       */
+/* (C) 1998-2004 Ullrich von Bassewitz                                       */
 /*               Römerstrasse 52                                             */
 /*               D-70794 Filderstadt                                         */
 /* EMail:        uz@cc65.org                                                 */
@@ -115,6 +115,7 @@ typedef enum {
 
     CFGTOK_CONSTRUCTOR,
     CFGTOK_DESTRUCTOR,
+    CFGTOK_INTERRUPTOR,
 
     CFGTOK_DECREASING,
     CFGTOK_INCREASING,