##
## Copyright (C) 2004-2006  Autodesk, Inc.
## 
## This library is free software; you can redistribute it and/or
## modify it under the terms of version 2.1 of the GNU Lesser
## General Public License as published by the Free Software Foundation.
## 
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## Lesser General Public License for more details.
## 
## You should have received a copy of the GNU Lesser General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
##

s/y.tab.c/yyFgft.cpp/g
/^# *line/s/\\/\\\\/g
/^# *line/b
s/yy/fdo_fgft_yy/g
s/YY/FDO_FGFT_YY/g
s/y.tab.c/yyFgft.cpp/g
s/yyparse (FDO_FGFT_YYPARSE_PARAM_ARG)/yyparse(FdoParseFgft* pParse)/g
s/yylex()/yylex(pParse)/g
/int fdo_fgft_yydebug/D
/int fdo_fgft_yynerrs/D
/int fdo_fgft_yyerrflag/D
/int fdo_fgft_yychar/D
/^short \*fdo_fgft_yyssp/D
/short \*fdo_fgft_yyss/D
s/fdo_fgft_yynerrs/pParse->fdo_fgft_yynerrs/g
s/fdo_fgft_yydebug/pParse->fdo_fgft_yydebug/g
s/fdo_fgft_yyerrflag/pParse->fdo_fgft_yyerrflag/g
s/fdo_fgft_yychar/pParse->fdo_fgft_yychar/g
s/fdo_fgft_yyssp/pParse->fdo_fgft_yyssp/g
s/typedef union _FDO_FGFT_YYSTYPE/#if 0/g
s/} FDO_FGFT_YYSTYPE;/#endif/g
/FDO_FGFT_YYSTYPE \*fdo_fgft_yyvsp/D
/FDO_FGFT_YYSTYPE fdo_fgft_yyval;/D
/FDO_FGFT_YYSTYPE fdo_fgft_yylval;/D
s/fdo_fgft_yyvsp/pParse->fdo_fgft_yyvsp/g
s/fdo_fgft_yyval/pParse->fdo_fgft_yyval/g
s/fdo_fgft_yylval/pParse->fdo_fgft_yylval/g
s/fdo_fgft_yyss;/pParse->fdo_fgft_yyss;/g
s/fdo_fgft_yyss /pParse->fdo_fgft_yyss /g
s/fdo_fgft_yyss)/pParse->fdo_fgft_yyss)/g
s/fdo_fgft_yyss,/pParse->fdo_fgft_yyss,/g
s/fdo_fgft_yylineno/pParse->fdo_fgft_yylineno/g
s/  fdo_fgft_yyerror(/ fdo_fgft_yyerror( pParse,/g
/FDO_FGFT_YYSTYPE \*fdo_fgft_yyvs;/D
/fdo_fgft_yystacksize;/D
s/fdo_fgft_yystacksize/pParse->fdo_fgft_yystacksize/g
s/fdo_fgft_yysslim/pParse->fdo_fgft_yysslim/g
s/fdo_fgft_yyvs;/pParse->fdo_fgft_yyvs;/g
s/fdo_fgft_yyvs /pParse->fdo_fgft_yyvs /g
s/fdo_fgft_yyvs,/pParse->fdo_fgft_yyvs,/g
s/int fdo_fgft_yygrowstack()/int fdo_fgft_yygrowstack(FdoParseFgft *pParse)/g
s/fdo_fgft_yygrowstack()/fdo_fgft_yygrowstack(pParse)/g
s/static int fdo_fgft_yygrowstack(FdoParseFgft \*pParse);/class FdoParseFgft; static int fdo_fgft_yygrowstack(FdoParseFgft \*pParse);/g