mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-03 23:24:17 +08:00
freedreno/afuc: warnings cleanup
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6070>
This commit is contained in:
parent
5125b4bc69
commit
b62e4a8e9e
@ -26,6 +26,9 @@
|
||||
#include "parser.h"
|
||||
#include "asm.h"
|
||||
|
||||
#define YY_NO_INPUT
|
||||
#define YY_NO_UNPUT
|
||||
|
||||
#define TOKEN(t) (yylval.tok = t)
|
||||
extern YYSTYPE yylval;
|
||||
|
||||
|
@ -118,15 +118,6 @@ label(const char *str)
|
||||
const char *str;
|
||||
}
|
||||
|
||||
%{
|
||||
static void print_token(FILE *file, int type, YYSTYPE value)
|
||||
{
|
||||
fprintf(file, "\ntype: %d\n", type);
|
||||
}
|
||||
|
||||
#define YYPRINT(file, type, value) print_token(file, type, value)
|
||||
%}
|
||||
|
||||
%token <num> T_INT
|
||||
%token <num> T_HEX
|
||||
%token <num> T_CONTROL_REG
|
||||
|
Loading…
Reference in New Issue
Block a user