mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
* expr.c (operator): Allow "!=" as a synonym for "<>".
* doc/as.texinfo (Infix Op): Mention "!=".
This commit is contained in:
parent
9c092ace49
commit
723a84724a
@ -1,3 +1,8 @@
|
||||
2005-10-10 Arnold Metselaar <arnold.metselaar@planet.nl>
|
||||
|
||||
* expr.c (operator): Allow "!=" as a synonym for "<>".
|
||||
* doc/as.texinfo (Infix Op): Mention "!=".
|
||||
|
||||
2005-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* config/tc-hppa.c (strict): Don't initialize. Update comment.
|
||||
|
@ -3619,6 +3619,7 @@ You may not subtract arguments from different sections.
|
||||
@item ==
|
||||
@dfn{Is Equal To}
|
||||
@item <>
|
||||
@itemx !=
|
||||
@dfn{Is Not Equal To}
|
||||
@item <
|
||||
@dfn{Is Less Than}
|
||||
|
14
gas/expr.c
14
gas/expr.c
@ -1587,15 +1587,21 @@ operator (int *num_chars)
|
||||
return ret;
|
||||
|
||||
case '!':
|
||||
/* We accept !! as equivalent to ^ for MRI compatibility. */
|
||||
if (input_line_pointer[1] != '!')
|
||||
switch (input_line_pointer[1])
|
||||
{
|
||||
case '!':
|
||||
/* We accept !! as equivalent to ^ for MRI compatibility. */
|
||||
*num_chars = 2;
|
||||
return O_bit_exclusive_or;
|
||||
case '=':
|
||||
/* We accept != as equivalent to <>. */
|
||||
*num_chars = 2;
|
||||
return O_ne;
|
||||
default:
|
||||
if (flag_m68k_mri)
|
||||
return O_bit_inclusive_or;
|
||||
return op_encoding[c];
|
||||
}
|
||||
*num_chars = 2;
|
||||
return O_bit_exclusive_or;
|
||||
|
||||
case '|':
|
||||
if (input_line_pointer[1] != '|')
|
||||
|
Loading…
Reference in New Issue
Block a user