X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlex.h;h=dc16b52b1a7a7a19c3f1764d72dbb123e70c02fa;hb=65ca7003ba47b7348610393a9a0d2d309b4e9702;hp=8feb0094a65d871d9b4c032f46b714c78210ba10;hpb=d891a896f47df2d7f048ad7e4498f2fd4f3c5d3b;p=lyx.git diff --git a/src/lyxlex.h b/src/lyxlex.h index 8feb0094a6..dc16b52b1a 100644 --- a/src/lyxlex.h +++ b/src/lyxlex.h @@ -96,7 +96,7 @@ public: /// bool getBool() const; /// - float getFloat() const; + double getFloat() const; /// std::string const getString() const; @@ -111,8 +111,6 @@ public: /// bool eatLine(); - /// - int findToken(char const * str[]); /// Pushes a token list on a stack and replaces it with a new one. void pushTable(keyword_item *, int); @@ -133,8 +131,6 @@ public: /// extract string LyXLex & operator>>(std::string &); - /// extract float - LyXLex & operator>>(float &); /// extract double LyXLex & operator>>(double &); /// extract integer @@ -145,7 +141,7 @@ public: LyXLex & operator>>(bool &); private: - struct Pimpl; + class Pimpl; /// Pimpl * pimpl_; }; @@ -157,7 +153,8 @@ private: exceptions. @author Lgb */ -struct pushpophelper { +class pushpophelper { +public: /// pushpophelper(LyXLex & lexrc, keyword_item * i, int s) : lex(lexrc) { lex.pushTable(i, s);