]> git.lyx.org Git - features.git/blobdiff - src/tex2lyx/Parser.h
Fix encoding for copying LaTeX from clipboard
[features.git] / src / tex2lyx / Parser.h
index ca0a917f43ee967f81809a58fdea2386d3190029..15832f9fa7d739c3a8c975683c4ae295ad70f9c4 100644 (file)
@@ -172,7 +172,7 @@ class Parser {
        Parser & operator=(Parser const & p);
 public:
        ///
-       Parser(idocstream & is);
+       Parser(idocstream & is, std::string const & fixedenc);
        ///
        Parser(std::string const & s);
        ///
@@ -351,10 +351,12 @@ private:
        std::string encoding_iconv_;
        ///
        CatCode theCatcode_[256];
-       //
+       ///
        cat_type theCatcodesType_;
-       //
+       ///
        cat_type curr_cat_;
+       ///
+       bool fixed_enc_;
 };