From 2e030b707c9162c70ebf1b87948b07435609e36f Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 10 Oct 2003 17:38:06 +0000 Subject: [PATCH] Change result of .CPU pseudo variable git-svn-id: svn://svn.cc65.org/cc65/trunk@2505 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/expr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5