From: cuz Date: Fri, 10 Oct 2003 17:38:06 +0000 (+0000) Subject: Change result of .CPU pseudo variable X-Git-Tag: V2.12.0~1271 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e030b707c9162c70ebf1b87948b07435609e36f;p=cc65 Change result of .CPU pseudo variable git-svn-id: svn://svn.cc65.org/cc65/trunk@2505 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/expr.c b/src/ca65/expr.c index 7b352e334..616564b16 100644 --- a/src/ca65/expr.c +++ b/src/ca65/expr.c @@ -38,6 +38,7 @@ /* common */ #include "check.h" +#include "cpu.h" #include "exprdefs.h" #include "print.h" #include "tgttrans.h" @@ -634,7 +635,7 @@ static ExprNode* Factor (void) break; case TOK_CPU: - N = GenLiteralExpr (GetCPU()); + N = GenLiteralExpr (CPUIsets[CPU]); NextTok (); break;