Georg Baum schreef op 9-1-2015 om 21:44:
commit ca6fba31fbc44e4b4ed6457b16f3f0d2ee28b7f0
Author: Georg Baum <b...@lyx.org>
Date:   Fri Jan 9 21:43:45 2015 +0100

     Remove direct calls of exit()
This is a preparation for using QCoreApplication.

@@ -1047,9 +1048,11 @@ int main(int argc, char * argv[])
                cerr << "Error: Could not find syntax file \"syntax.default\"." 
<< endl;
                return EXIT_FAILURE;
        }
-       read_syntaxfile(system_syntaxfile);
+       if (!read_syntaxfile(system_syntaxfile))
+               return 2;
        if (!syntaxfile.empty())
-               read_syntaxfile(makeAbsPath(syntaxfile));
+               if (!read_syntaxfile(makeAbsPath(syntaxfile)))
+                       return 2;
// Read the encodings table.
        FileName const symbols_path = libFileSearch(string(), "unicodesymbols");

Anyone knows what "return 2" means ? I don't see anything in the tex2lyx man page or whatever. Also, I don't think we use the return value anywhere ourselves.

Vincent

Reply via email to