projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use run_dead_script wherever possible and make kill_* operations only do stuff once
[supertux.git]
/
src
/
lisp
/
lexer.hpp
diff --git
a/src/lisp/lexer.hpp
b/src/lisp/lexer.hpp
index
1cd062b
..
f85c86e
100644
(file)
--- a/
src/lisp/lexer.hpp
+++ b/
src/lisp/lexer.hpp
@@
-53,13
+53,15
@@
private:
};
inline void nextChar();
};
inline void nextChar();
+ inline void addChar();
std::istream& stream;
bool eof;
int linenumber;
char buffer[BUFFER_SIZE+1];
char* bufend;
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;
};
char token_string[MAX_TOKEN_LENGTH + 1];
int token_length;
};