Eliminated some problems resulting from last merge
[openstranded.git] / src / defparse / deftest.cc
blob3078b45669c414275d278f5074821d36f8b211a9
1 /*
2 * This is a little test program for the definition parser.
4 * Copyright (C) 2008 Hermann Walth
6 * This file is part of OpenStranded
8 * OpenStranded is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
13 * OpenStranded is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with OpenStranded. If not, see <http://www.gnu.org/licenses/>.
22 #include <fstream>
23 #include "../kingdom.hh"
24 #include "defparse.hh"
26 int
27 main (int argc, char** argv)
29 Kingdom::initKingdomList ();
30 def::object::parse ("objects_sample.inf");
31 Kingdom::uninitKingdomList ();
32 return 0;