** 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
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);
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 ();
bool m_bNewlineIsEOC;
struct KeywordCodeList {
- char *keyword;
+ const char *keyword;
int code;
};