afuc: Fix xmov lexer typo

This happened to work by luck, but was caught with the isaspec encoding
assertions.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23949>
This commit is contained in:
Connor Abbott 2023-06-26 17:35:10 +02:00 committed by Marge Bot
parent 038680c2f6
commit 7376af0eef

View file

@ -86,7 +86,7 @@ extern YYSTYPE yylval;
"setsecure" return TOKEN(T_OP_SETSECURE);
"<<" return TOKEN(T_LSHIFT);
"(rep)" return TOKEN(T_REP);
"(xmov"[1-3]")" yylval.num = yytext[5] - '\0'; return T_XMOV;
"(xmov"[1-3]")" yylval.num = yytext[5] - '0'; return T_XMOV;
"," return ',';
"[" return '[';