setup ChangeLog IniParseFindVisitor.cc IniPars ...
briand@sourceware.org
briand@sourceware.org
Wed May 30 03:49:00 GMT 2007
CVSROOT: /cvs/cygwin-apps
Module name: setup
Changes by: briand@sourceware.org 2007-05-30 03:49:49
Modified files:
. : ChangeLog IniParseFindVisitor.cc
IniParseFindVisitor.h ini.cc ini.h inilex.l
io_stream.cc
Log message:
* IniParseFindVisitor.cc (IniParseFindVisitor::IniParseFindVisitor):
Remove error_buf and error_count initializers.
(IniParseFindVisitor::visitFile): Store filename in current_ini_name.
Use yyerror_count and yyerror_messages in place of removed error_count
and error_buf members.
* IniParseFindVisitor.h (class IniParseFindVisitor): Remove error_buf
and error_count members.
* ini.cc: Include io_stream_memory.h. Remove file static variables
error_buf, error_count, and ini_filename.
(GuiParseFeedback::progress): Remove some verbose log spam.
(do_remote_ini): Recode .ini-fetching logic to properly display parse
errors, and to account for corrupt bzip2 files.
(yyerror): Moved elsewhere.
(fprintf): Delete unused function.
* ini.h: Remove useless __cplusplus guard. Declare extern variables
current_ini_name, yyerror_messages, and yyerror_count.
* inilex.l: Add current_ini_name, yyerror_messages, and
yyerror_count.
(ini_init): Initialize new variables.
(yybol): Delete.
(yyerror): Reimplement using std::string and relocate from ini.cc.
* io_stream.cc (io_stream::copy): Add clarifying comment.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.568&r2=2.569
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/IniParseFindVisitor.cc.diff?cvsroot=cygwin-apps&r1=2.11&r2=2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/IniParseFindVisitor.h.diff?cvsroot=cygwin-apps&r1=2.5&r2=2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ini.cc.diff?cvsroot=cygwin-apps&r1=2.44&r2=2.45
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ini.h.diff?cvsroot=cygwin-apps&r1=2.37&r2=2.38
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/inilex.l.diff?cvsroot=cygwin-apps&r1=2.20&r2=2.21
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/io_stream.cc.diff?cvsroot=cygwin-apps&r1=2.20&r2=2.21
More information about the Cygwin-apps-cvs
mailing list