]> git.draconx.ca Git - cdecl99.git/blobdiff - src/scan.l
libcdecl: Remove unused YY_INPUT from scanner.
[cdecl99.git] / src / scan.l
index 48314d4e00df2203cdba59f2aac0ca5c67009307..bd1c5c5b267189f04dd13df3af3366391be5683a 100644 (file)
@@ -1,7 +1,7 @@
 %top{
 /*
  *  Scanner for C declarations.
- *  Copyright © 2011, 2021, 2023 Nick Bowler
+ *  Copyright © 2011, 2021, 2023-2024 Nick Bowler
  *
  *  This program is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -20,6 +20,8 @@
 #include <config.h>
 #include "parse.h"
 
+/* Disable various generated code we don't use */
+#define YY_INPUT(a, b, c) do {} while (0)
 #define YY_NO_INPUT 1
 #define YY_NO_UNPUT 1
 }