Fixed window resize in OpenGL and added window resize to SDL renderer
[supertux.git] / src / lisp / lexer.cpp
index 239e30a..23e95cd 100644 (file)
 
 #include "lisp/lexer.hpp"
 
-#include <cstring>
+#include <string.h>
 #include <sstream>
 #include <stdexcept>
 #include <stdio.h>
 
 namespace lisp {
 
-Lexer::Lexer(std::istream& newstream)
-  : stream(newstream), eof(false), linenumber(0)
+Lexer::Lexer(std::istream& newstream) :
+  stream(newstream), 
+  eof(false), 
+  linenumber(0),
+  bufend(),
+  bufpos(),
+  c(),
+  token_length()
 {
   // trigger a refill of the buffer
   bufpos = NULL;