]> git.sur5r.net Git - cc65/blobdiff - src/ca65/instr.c
Move all attributes and other information that is attached to a token into a
[cc65] / src / ca65 / instr.c
index b5839c10abf4ae3e9120a164efe4949e51d36a6f..39c32f2eadc91464c4ce2ba0a7ef04c88d52b2d4 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2009, Ullrich von Bassewitz                                      */
+/* (C) 1998-2011, Ullrich von Bassewitz                                      */
 /*                Roemerstrasse 52                                           */
 /*                D-70794 Filderstadt                                        */
 /* EMail:         uz@cc65.org                                                */
@@ -1255,7 +1255,7 @@ static void PutTST (const InsDesc* Ins)
     EffAddr   A;
 
     /* The first argument is always an immediate byte */
-    if (Tok != TOK_HASH) {
+    if (CurTok.Tok != TOK_HASH) {
         ErrorSkip ("Invalid addressing mode");
         return;
     }