While subsequent processing in AT&T mode relies on this simplistic early
checking, Intel mode hasn't been for quite a long time (or perhaps never
really did).
+2021-06-07 Jan Beulich <jbeulich@suse.com>
+
+ * config/tc-i386.c (parse_operands): Don't check for matched
+ square brackets.
+
2021-06-07 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (check_VecOperations): Remove 2nd parameter.
{
if (paren_not_balanced)
{
- if (!intel_syntax)
- as_bad (_("unbalanced parenthesis in operand %d."),
- i.operands + 1);
- else
- as_bad (_("unbalanced brackets in operand %d."),
- i.operands + 1);
+ know (!intel_syntax);
+ as_bad (_("unbalanced parenthesis in operand %d."),
+ i.operands + 1);
return NULL;
}
else
if (*l == ')')
--paren_not_balanced;
}
- else
- {
- if (*l == '[')
- ++paren_not_balanced;
- if (*l == ']')
- --paren_not_balanced;
- }
l++;
}
if (l != token_start)