blob: 7484b6c0bbaca029e5324dfc31b01f8e2c0a9fe9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
--- 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
*/
|