New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip the ASSIGN directive only when real assignment #7

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@jjatria

jjatria commented Oct 28, 2018

Template::Grammar labels '=>' as an ASSIGN directive.
Since the autofilter skips ASSIGN directives, literal
hashes get incorrectly skipped. This patch makes the
autofilter skip ASSIGN directives only when they use
'='.

This is an attempt at addressing RT #118763.

I'm not sure if this is the correct solution, since it was difficult to find documentation on what the ASSIGN directive is supposed to be. I'll be happy to discuss alternative solutions.

Skip the ASSIGN directive only when real assignment
Template::Grammar labels '=>' as an ASSIGN directive.
Since the autofilter skips ASSIGN directives, literal
hashes get incorrectly skipped. This patch makes the
autofilter skip ASSIGN directives only when they use
'='.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment