X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=lib%2Flisp%2Fparser.h;h=507fb104194a73af286ff7b46d00ade441056a09;hb=8e0bad9f82ccbc811a18edd7ce6c6f69c5bca082;hp=726648e04ac1fff2e3fd7056cd5f7a09240e59bb;hpb=ef57479f613b900b73eba8e8f4d026aae0de25cc;p=supertux.git diff --git a/lib/lisp/parser.h b/lib/lisp/parser.h index 726648e04..507fb1041 100644 --- a/lib/lisp/parser.h +++ b/lib/lisp/parser.h @@ -23,6 +23,11 @@ #include #include "lexer.h" +namespace TinyGetText { +class Dictionary; +class DictionaryManager; +} + namespace lisp { @@ -31,7 +36,7 @@ class Lisp; class Parser { public: - Parser(); + Parser(bool translate = true); ~Parser(); Lisp* parse(const std::string& filename); @@ -41,6 +46,8 @@ private: Lisp* read(); Lexer* lexer; + TinyGetText::DictionaryManager* dictionary_manager; + TinyGetText::Dictionary* dictionary; Lexer::TokenType token; };