mirror of
https://github.com/cc65/cc65.git
synced 2025-01-02 09:34:22 +00:00
"S" is a keyword in 65816 mode only.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3958 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
60f525346f
commit
b607a61866
@ -680,7 +680,7 @@ static unsigned char FindDotKeyword (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void ReadIdent (void)
|
static void ReadIdent (void)
|
||||||
/* Read an identifier from the current input position into Ident. Filling SVal
|
/* Read an identifier from the current input position into Ident. Filling SVal
|
||||||
* starts at the current position with the next character in C. It is assumed
|
* starts at the current position with the next character in C. It is assumed
|
||||||
@ -1013,8 +1013,11 @@ Again:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'S':
|
case 'S':
|
||||||
Tok = TOK_S;
|
if (CPU == CPU_65816) {
|
||||||
return;
|
Tok = TOK_S;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 'X':
|
case 'X':
|
||||||
Tok = TOK_X;
|
Tok = TOK_X;
|
||||||
|
Loading…
Reference in New Issue
Block a user