mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Change result of .CPU pseudo variable
git-svn-id: svn://svn.cc65.org/cc65/trunk@2505 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f721907ab3
commit
2e030b707c
@ -38,6 +38,7 @@
|
|||||||
|
|
||||||
/* common */
|
/* common */
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
#include "cpu.h"
|
||||||
#include "exprdefs.h"
|
#include "exprdefs.h"
|
||||||
#include "print.h"
|
#include "print.h"
|
||||||
#include "tgttrans.h"
|
#include "tgttrans.h"
|
||||||
@ -634,7 +635,7 @@ static ExprNode* Factor (void)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case TOK_CPU:
|
case TOK_CPU:
|
||||||
N = GenLiteralExpr (GetCPU());
|
N = GenLiteralExpr (CPUIsets[CPU]);
|
||||||
NextTok ();
|
NextTok ();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user