--- 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 . */ +%define api.prefix {parse_} %{ - #include #include #include @@ -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 */