blob: 5f02f9a84c3910cc225f0a902a2e87afd92a40a8 [file] [log] [blame]
Eitan Isaacson80be8fd2008-01-16 01:14:49 +00001/* liblouis Braille Translation and Back-Translation Library
2
3 Based on BRLTTY, copyright (C) 1999-2006 by
4 The BRLTTY Team
5
6 Copyright (C) 2004, 2005, 2006
7 ViewPlus Technologies, Inc. www.viewplus.com
8 and
9 JJB Software, Inc. www.jjb-software.com
10
11 This file is free software; you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by the
13 Free Software Foundation; either version 2, or (at your option) any
14 later version.
15
16 In addition to the permissions in the GNU General Public License, the
17 copyright holders give you unlimited permission to link the
18 compiled version of this file into combinations with other programs,
19 and to distribute those combinations without any restriction coming
20 from the use of this file. (The General Public License restrictions
21 do apply in other respects; for example, they cover modification of
22 the file, and distribution when not linked into a combine
23 executable.)
24
25 This file is distributed in the hope that it will be useful, but
26 WITHOUT ANY WARRANTY; without even the implied warranty of
27 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28 General Public License for more details.
29
30 You should have received a copy of the GNU General Public License
31 along with this program; see the file COPYING. If not, write to
32 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
33 Boston, MA 02110-1301, USA.
34
35 Maintained by John J. Boyer john.boyer@jjb-software.com
36 */
37
38#include <stdio.h>
39#include <string.h>
40#include <stdlib.h>
41#include "louis.h"
42
43int
44main (int argc, char **argv)
45{
46 const ContractionTableHeader *table;
47 if (argc != 2)
48 {
49 fprintf (stderr, "Usage: checktable tablename\n");
50 exit (1);
51 }
52 if ((table = lou_getTable (argv[1])))
53 fprintf (stderr, "No errors found.\n");
54 lou_free ();
55 return 0;
56}