From: cuz Date: Mon, 20 Sep 2004 10:23:57 +0000 (+0000) Subject: New condes type interruptor X-Git-Tag: V2.12.0~646 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e6b456a8a60573749a228a4726e1921716f60eff;p=cc65 New condes type interruptor git-svn-id: svn://svn.cc65.org/cc65/trunk@3188 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/config.c b/src/ld65/config.c index 6ee1b6ad8..608cc8949 100644 --- a/src/ld65/config.c +++ b/src/ld65/config.c @@ -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"); } } diff --git a/src/ld65/scanner.h b/src/ld65/scanner.h index 2af9fa161..aa4758627 100644 --- a/src/ld65/scanner.h +++ b/src/ld65/scanner.h @@ -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,