Use run_dead_script wherever possible and make kill_* operations only do stuff once
[supertux.git] / src / lisp / lexer.hpp
index f541abd..f85c86e 100644 (file)
@@ -16,7 +16,6 @@
 //  You should have received a copy of the GNU General Public License
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
 #ifndef __LISPLEXER_H__
 #define __LISPLEXER_H__
 
@@ -54,13 +53,15 @@ private:
   };
 
   inline void nextChar();
+  inline void addChar();
 
   std::istream& stream;
   bool eof;
   int linenumber;
   char buffer[BUFFER_SIZE+1];
   char* bufend;
-  char* c;
+  char* bufpos;
+  int  c;
   char token_string[MAX_TOKEN_LENGTH + 1];
   int token_length;
 };