]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex.h
Small fix.
[lyx.git] / src / lyxlex.h
index e60722ff383a421b518f01b54e865b5b96d131b5..9f260653db8eb88aa7eafbd813cf55a8b9e66c8f 100644 (file)
@@ -71,6 +71,8 @@ public:
          split a word if it contains a backslash.
          */
        bool nextToken();
+       /// Push a token, that next token got from lyxlex.
+       void pushToken(string const &);
        
        /// 
        int GetLineNo() const;
@@ -82,9 +84,16 @@ public:
        ///
        float GetFloat() const;
        ///
-       string const GetString() const;
+       string GetString() const;
        
-       /// get a long string, ended by the tag `endtag'
+       /**
+        * Get a long string, ended by the tag `endtag'
+        * This string can span several lines. The first line
+        * serves as a template for how many spaces the lines
+        * are indented. This much white space is skipped from
+        * each following line. This mechanism does not work
+        * perfectly if you use tabs.
+        */
        string getLongString(string const & endtag);
        
        ///