We only scan strings so the code that uses YY_INPUT is never actually
executed, but it still takes space in the library and creates symbol
references to various file I/O functions that have to be resolved at
runtime.
We can provide a stub YY_INPUT to suppress all of this.
Description:
-blargh
+Conditionally pull in various gnulib modules for NLS support.
Files:
%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
#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
}