diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-kvx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-kvx.h b/gas/config/tc-kvx.h index 11787bf..85344cb 100644 --- a/gas/config/tc-kvx.h +++ b/gas/config/tc-kvx.h @@ -37,7 +37,8 @@ #define KVX_RA_REGNO (67) #define KVX_SP_REGNO (12) -#define TOKEN_NAME(tok) ((tok) == -1 ? "unknown token" : env.tokens_names[(tok) - 1]) +#define TOKEN_NAME(tok) \ + ((tok) <= 0 ? "unknown token" : env.tokens_names[(tok) - 1]) struct token_s { char *insn; |