Skip to content

Fix missing runtime_class warning - #867

Merged
brucemiller merged 1 commit into
brucemiller:masterfrom
tkw1536:parser-runtime-class-warning
Aug 29, 2017
Merged

Fix missing runtime_class warning#867
brucemiller merged 1 commit into
brucemiller:masterfrom
tkw1536:parser-runtime-class-warning

Conversation

@tkw1536

@tkw1536 tkw1536 commented Aug 29, 2017

Copy link
Copy Markdown
Contributor

When generating LaTeXML::MathGrammar, recent versions of Parse::RecDescent were generating a warning about the missing runtime_class option. This warning indiciated that the grammar may stop working with future versions of the RecDescent package.

This PR adds the missing option to the call inside of Makefile.PL, ensuring that the default runtime Parse::RecDescent will continue to be used.

When generating LaTeXML::MathGrammar, recent versions of
Parse::RecDescent were generating a warning about the missing
runtime_class option. This warning indiciated that the grammar may stop
working with future versions of the RecDescent package.

This commit adds the missing option to the call inside of Makefile.PL,
ensuring that the default runtime Parse::RecDescent will continue to be
used.
@brucemiller

Copy link
Copy Markdown
Owner

Cool! Thanks!!

@brucemiller
brucemiller merged commit b5aa3d0 into brucemiller:master Aug 29, 2017
@brucemiller

Copy link
Copy Markdown
Owner

whoops... this doesn't actually work; at least not with Parse::RecDescent 1.965. if you do make distclean to start fresh, then perl Makefile.PL and make, you get

Usage: perl -MLocalTest - <grammarfile> <classname>

it seemingly doesn't accept the 3rd arg on the line.

@tkw1536

tkw1536 commented Aug 29, 2017

Copy link
Copy Markdown
Contributor Author

Oops, didn't consider that older dependency versions do not have the third argument. I will need to add a fallback case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants