Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Bugfix for older Parse::RecDescent versions #868
Older versions of Parse::RecDescent did not support the third argument
This PR fixes the problem by introducing a fallback that does not
No, I actually mean -e inside the perl code to check if the given file exists.…
On 30. Aug 2017, at 15:39, Deyan Ginev ***@***.***> wrote: @dginev commented on this pull request. In Makefile.PL: > @@ -175,6 +175,9 @@ pure_all :: $(INST_LIBDIR)/LaTeXML/MathGrammar.pm $(INST_LIBDIR)/LaTeXML/MathGrammar.pm: lib/LaTeXML/MathGrammar $(PERLRUN) -MParse::RecDescent - lib/LaTeXML/MathGrammar LaTeXML::MathGrammar Parse::RecDescent + @$(PERLRUN) -e 'exit -e ("$(INST_LIBDIR)/LaTeXML/MathGrammar.pm") ? 0 : 1;' || \ exit -e ? Don't you mean perl -e? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Older versions of Parse::RecDescent did not support the third argument to parser pre-compilation introduced in b5aa3d0. This caused installation problems for LaTeXML on older systems. This commit fixes the problem by introducing a fallback that does not use the third argument. This only gets triggered when the MathGrammar is not created.