bison: tighten up output file names

Problem reported by Michał Majchrowicz.
* src/parse-gram.y: Do not allow '/' in %header and %output directives.
This commit is contained in:
Paul Eggert
2026-04-23 12:41:25 -07:00
parent 3169c1e7a2
commit 8d101c19d4
5 changed files with 74 additions and 30 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
/* A Bison parser, made by GNU Bison 3.8.2.30-82269. */
/* A Bison parser, made by GNU Bison 3.8.2.66-3169-modified. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2022 Free Software Foundation,
Inc.
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2022, 2025-2026 Free Software
Foundation, Inc.
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