mirror of
https://git.freebsd.org/ports.git
synced 2025-05-05 07:57:38 -04:00
35 lines
975 B
Text
35 lines
975 B
Text
--- fmtgen/parse.y.orig 2020-06-17 17:42:24.867502000 -0400
|
|
+++ fmtgen/parse.y 2020-06-17 17:43:25.898841000 -0400
|
|
@@ -2,6 +2,7 @@
|
|
* aegis - project change supervisor
|
|
* Copyright (C) 1991-1994, 1997-1999, 2001-2008, 2012 Peter Miller
|
|
* Copyright (C) 2007 Walter Franzini
|
|
+ * Copyright (C) 2020 Aryeh M. Friedman
|
|
*
|
|
* 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
|
|
@@ -17,8 +18,8 @@
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
+%define api.prefix {parse_}
|
|
%{
|
|
-
|
|
#include <common/ac/ctype.h>
|
|
#include <common/ac/stdio.h>
|
|
#include <common/ac/stdlib.h>
|
|
@@ -208,12 +209,12 @@
|
|
trace(("}\n"));
|
|
}
|
|
|
|
+int yyparse(void);
|
|
+extern int yylex(void);
|
|
|
|
void
|
|
parse(const generator::pointer &g, const nstring &definition_file)
|
|
{
|
|
- extern int yyparse(void);
|
|
-
|
|
/*
|
|
* initial name is the basename of the definition file
|
|
*/
|