diff options
author | Anton Johansson <anjo@rev.ng> | 2023-07-13 14:08:53 +0200 |
---|---|---|
committer | Brian Cain <bcain@quicinc.com> | 2024-08-07 20:37:19 -0700 |
commit | f51e30ff353c5c16ce9d68fe4072a89e7b19b454 (patch) | |
tree | 5d3f5ddd0e01c06c26b5b26609a56f84292013fc /target/hexagon | |
parent | 523e45ac5b881237bd03934751d44767e5716620 (diff) | |
download | qemu-f51e30ff353c5c16ce9d68fe4072a89e7b19b454.zip qemu-f51e30ff353c5c16ce9d68fe4072a89e7b19b454.tar.gz qemu-f51e30ff353c5c16ce9d68fe4072a89e7b19b454.tar.bz2 |
target/hexagon/idef-parser: Remove self-assignment
The self assignment is clearly useless, and @1.last_column does not have
to be set for an expression with only a single token, so remove it.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230713120853.27023-1-anjo@rev.ng>
Signed-off-by: Brian Cain <bcain@quicinc.com>
Diffstat (limited to 'target/hexagon')
-rw-r--r-- | target/hexagon/idef-parser/idef-parser.y | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/hexagon/idef-parser/idef-parser.y b/target/hexagon/idef-parser/idef-parser.y index 9ffb9f9..c6f17c6 100644 --- a/target/hexagon/idef-parser/idef-parser.y +++ b/target/hexagon/idef-parser/idef-parser.y @@ -800,7 +800,6 @@ rvalue : FAIL lvalue : FAIL { - @1.last_column = @1.last_column; yyassert(c, &@1, false, "Encountered a FAIL token as lvalue.\n"); } | REG |