]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex.h
hopefully fix tex2lyx linking.
[lyx.git] / src / lyxlex.h
index 18a95aa26a4e2c29cdb25556821429da60a6b7ae..f1222d1a811a8a2e0f6c1688ff0d4ce2c38bc911 100644 (file)
@@ -24,6 +24,9 @@
 #include <iosfwd>
 
 
+namespace lyx {
+
+
 ///
 struct keyword_item {
        ///
@@ -102,7 +105,7 @@ public:
        std::string const getString() const;
 
        ///
-       lyx::docstring const getDocString() const;
+       docstring const getDocString() const;
 
        /** Get a long string, ended by the tag `endtag'.
            This string can span several lines. The first line
@@ -135,6 +138,8 @@ public:
 
        /// extract string
        LyXLex & operator>>(std::string &);
+       /// extract docstring
+       LyXLex & operator>>(docstring &);
        /// extract double
        LyXLex & operator>>(double &);
        /// extract integer
@@ -182,4 +187,7 @@ public:
 #define pushpophelper(x, y, z) unnamed_pushpophelper;
 // Tip gotten from Bobby Schmidt's column in C/C++ Users Journal
 
+
+} // namespace lyx
+
 #endif