From 7b8845474d82424c348344c06fd8e57187d5269c Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Mon, 8 May 2023 12:57:22 -0500 Subject: [PATCH] vkd3d-shader/preproc: Use %option nodefault in the lexer. --- libs/vkd3d-shader/preproc.l | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/vkd3d-shader/preproc.l b/libs/vkd3d-shader/preproc.l index a54e47bc..8e35e355 100644 --- a/libs/vkd3d-shader/preproc.l +++ b/libs/vkd3d-shader/preproc.l @@ -40,6 +40,7 @@ static void update_location(struct preproc_ctx *ctx); %option bison-locations %option extra-type="struct preproc_ctx *" %option never-interactive +%option nodefault %option noinput %option nounput %option noyy_top_state