/* Return the length of the string */
return I;
-}
+}
}
}
- /* Search for an opcode */
- IVal = FindInstruction (SVal);
- if (IVal >= 0) {
- /* This is a mnemonic */
- Tok = TOK_MNEMO;
- } else if (IsDefine (SVal)) {
- /* This is a define style macro - expand it */
+ /* Check for define style macro */
+ if (IsDefine (SVal)) {
+ /* Macro - expand it */
MacExpandStart ();
goto Restart;
} else {
int TokHasIVal (enum Token Tok)
/* Return true if the given token has an attached IVal */
{
- return (Tok == TOK_INTCON || Tok == TOK_CHARCON || Tok == TOK_MNEMO);
+ return (Tok == TOK_INTCON || Tok == TOK_CHARCON);
}