opnsense-ports/devel/libexplain/files/patch-codegen_gram.y
Franco Fichtner 5413c08ad3 */*: sync with upstream
Taken from: HardenedBSD
2020-05-26 02:23:26 +02:00

19 lines
357 B
Text

--- codegen/gram.y.orig 2013-12-08 01:47:33 UTC
+++ codegen/gram.y
@@ -17,6 +17,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+%define api.prefix {gram_}
+%define parse.error verbose
%{
#include <libexplain/ac/stdio.h>
@@ -29,7 +31,6 @@
#include <codegen/node.h>
#define YYDEBUG 0
-#define YYERROR_VERBOSE 1
%}