summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index f7139f32..5571c6f3 100644
--- a/parser.c
+++ b/parser.c
@@ -223,6 +223,10 @@ static bool parse_braces(decoflags_t *decoflags)
*/
*decoflags |= GEN_Z(0);
break;
+ default:
+ nasm_error(ERR_NONFATAL, "{%s} is not an expected decorator",
+ tokval.t_charptr);
+ break;
}
} else if (i == ',' || i == TOKEN_EOS){
break;
@@ -917,6 +921,8 @@ is_expression:
result->oprs[operand].type |= XMEM;
else if (is_class(YMMREG,iclass))
result->oprs[operand].type |= YMEM;
+ else if (is_class(ZMMREG,iclass))
+ result->oprs[operand].type |= ZMEM;
}
result->oprs[operand].basereg = b;