Update copyright date; remove old CVS keyword
[ctsim.git] / include / pol.h
index 7b75fda8d03caca0f10000753b9074b022bca4b7..ede84f95a0d692d01b5b7523354af04df64a16e7 100644 (file)
@@ -5,9 +5,7 @@
 **      Date Started: 1984
 **
 **  This is part of the CTSim program
-**  Copyright (c) 1983-2001 Kevin Rosenberg
-**
-**  $Id$
+**  Copyright (c) 1983-2009 Kevin Rosenberg
 **
 **  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
@@ -46,7 +44,7 @@ class POL {
     void addSkipWord (const char* const w);
     void addSkipChar (int c);
     void addKeyword (const char* const str, int code);
-    bool readWord (char *search, int nlet);
+    bool readWord (const char *search, int nlet);
     bool readUserToken (char *str, int *code);
     bool readString (char *str);
     bool readInteger (int *n, int typecode, bool boundcode, int bb1, int bb2);
@@ -54,7 +52,7 @@ class POL {
     bool skipTokens ();
     void reader ();
     bool readText (char *str, int lim);
-    void usefile (int source, char *fn);
+    void usefile (int source, const char *fn);
     void closefile ();
     int lookchar ();
     int inchar ();
@@ -146,7 +144,7 @@ private:
   bool m_bNewlineIsEOC;
 
   struct KeywordCodeList {
-    char *keyword;
+    const char *keyword;
     int  code;
   };