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>
This commit is contained in:
Anton Johansson 2023-07-13 14:08:53 +02:00 committed by Brian Cain
parent 523e45ac5b
commit f51e30ff35
1 changed files with 0 additions and 1 deletions

View File

@ -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