X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLaTeX.h;h=6b71f0f8a72b0240d2b16cc872f74ff150f319df;hb=3bb588f4aaa810fa9cf00a93cf1bd6015cc4d8cf;hp=5db38893750d1cd4445b23b0a4bf16762ca20c06;hpb=df7b0eb61d73891e7bc1ddc753d5c0b84a4c3958;p=lyx.git diff --git a/src/LaTeX.h b/src/LaTeX.h index 5db3889375..6b71f0f8a7 100644 --- a/src/LaTeX.h +++ b/src/LaTeX.h @@ -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,9 @@ public: /// BIBTEX_ERROR = 16384, /// - //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, + NONZERO_ERROR = 32768, // the command exited with nonzero status + /// + ERRORS = TEX_ERROR + LATEX_ERROR + NONZERO_ERROR + BIBTEX_ERROR, /// WARNINGS = TEX_WARNING + LATEX_WARNING + PACKAGE_WARNING };