]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.h
Pimpl MathMacro
[lyx.git] / src / LaTeX.h
index 5db38893750d1cd4445b23b0a4bf16762ca20c06..7fa6798ff05cdbee0aad6a6dfdeb47f66c941aa7 100644 (file)
@@ -44,7 +44,7 @@ private:
                          error_desc(desc),
                          error_text(text),
                          child_name(fname) {}
-               /// what line in the TeX file the error occured in
+               /// what line in the TeX file the error occurred in
                int error_in_line;
                /// The kind of error
                docstring error_desc;
@@ -138,10 +138,12 @@ public:
                ///
                BIBTEX_ERROR = 16384,
                ///
+               NONZERO_ERROR = 32768, // the command exited with nonzero status
+               ///
                //FIXME: BIBTEX_ERROR has been removed from ERRORS for now, since users were irritated
                //       about those errors which prevented compilation of previously compiling documents.
                //       Think about a "gentle" transfer to BibTeX error reporting.
-               ERRORS = TEX_ERROR + LATEX_ERROR,
+               ERRORS = TEX_ERROR + LATEX_ERROR + NONZERO_ERROR,
                ///
                WARNINGS = TEX_WARNING + LATEX_WARNING + PACKAGE_WARNING
        };