projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New Norwegian Translation
[supertux.git]
/
lib
/
lisp
/
parser.h
diff --git
a/lib/lisp/parser.h
b/lib/lisp/parser.h
index
726648e
..
507fb10
100644
(file)
--- a/
lib/lisp/parser.h
+++ b/
lib/lisp/parser.h
@@
-23,6
+23,11
@@
#include <string>
#include "lexer.h"
#include <string>
#include "lexer.h"
+namespace TinyGetText {
+class Dictionary;
+class DictionaryManager;
+}
+
namespace lisp
{
namespace lisp
{
@@
-31,7
+36,7
@@
class Lisp;
class Parser
{
public:
class Parser
{
public:
- Parser();
+ Parser(
bool translate = true
);
~Parser();
Lisp* parse(const std::string& filename);
~Parser();
Lisp* parse(const std::string& filename);
@@
-41,6
+46,8
@@
private:
Lisp* read();
Lexer* lexer;
Lisp* read();
Lexer* lexer;
+ TinyGetText::DictionaryManager* dictionary_manager;
+ TinyGetText::Dictionary* dictionary;
Lexer::TokenType token;
};
Lexer::TokenType token;
};