X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctgraphics%2Fezpol.cpp;h=ff079911a90945b69edad080ad9ee15cc745c4b1;hp=54932f38f96185ff3758b3a0eff7a11fdee62c63;hb=12e2c29153a0f55ac23bdeec06b404638672985b;hpb=0fe37e9c318904715493dc9c894f658c43e6178e diff --git a/libctgraphics/ezpol.cpp b/libctgraphics/ezpol.cpp index 54932f3..ff07991 100644 --- a/libctgraphics/ezpol.cpp +++ b/libctgraphics/ezpol.cpp @@ -1,8 +1,12 @@ /***************************************************************************** +** FILE IDENTIFICATION +** +** POL - Problem Oriented Language +** ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ezpol.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $ +** $Id: ezpol.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -17,22 +21,20 @@ ** along with this program; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ******************************************************************************/ -/*----------------------------------------------------------------------*/ -/* POL - Problem Oriented Language */ /* */ /*----------------------------------------------------------------------*/ #include -#include "ascii.h" -#include "stdio.h" -#include "kstddef.h" -#include "ctype.h" +#include +#include +#include "ctsupport.h" #include "pol.h" -#define HASHSIZE 20 -/* Tables words stored with install() & found with lookup() */ +static const int HASHSIZE=20; + +/* Tables words stored with install() & found with lookup() */ static SYMBOL *skiptable[HASHSIZE]; /* words to ignore and skip */ static SYMBOL *cmdtable[HASHSIZE]; /* pol parameter commands */ static SYMBOL *usertable[HASHSIZE]; /* user defined symbols */