2 * Copyright (c) 2002, Robert Collins.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by Robert Collins <rbtcollins@hotmail.com>
17 static const char *cvsid
=
21 #include "getopt++/GetOption.h"
28 static ostringstream error_buf
;
29 static int error_count
= 0;
32 yyerror (const std::string
& s
)
35 buf
<< "setup.ini line " << yylineno
<< ": ";
40 /* TODO: is return 0 correct? */
47 cout
<< "inilint checks cygwin setup.ini files and reports any errors with" << endl
;
48 cout
<< "diagnostics" << endl
;
52 main (int argc
, char **argv
)
54 if (!GetOption::GetInstance().Process (argc
,argv
,NULL
))