From: Dmitry Selyutin Date: Sun, 22 Aug 2021 19:19:00 +0000 (+0000) Subject: parser: support unary minus properly X-Git-Tag: xlen-bcd~107 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5831b25c1adaa57b4e45b9b23f5dc31fb417d16a;p=openpower-isa.git parser: support unary minus properly --- diff --git a/src/openpower/decoder/pseudo/parser.py b/src/openpower/decoder/pseudo/parser.py index 4f11f6f1..72ce61e4 100644 --- a/src/openpower/decoder/pseudo/parser.py +++ b/src/openpower/decoder/pseudo/parser.py @@ -653,7 +653,7 @@ class PowerParser: | comparison BITXOR comparison | comparison BITAND comparison | PLUS comparison - | comparison MINUS + | MINUS comparison | INVERT comparison | comparison APPEND comparison | power"""