Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Only future parser does hash operators apparently #33

Merged
merged 3 commits into from
Oct 6, 2013

Conversation

Freeaqingme
Copy link

No description provided.

@Freeaqingme
Copy link
Author

Problem with this is that if you do $log_explicit_matches = $explicit_matches first, it creates a pointer to the same value, so all changes applied to the $log_* var will also be applied to the other one. Another problem is that if you do $var = something; $discard = inline_template('<% var = somestuff %>') the ruby code will create a new variable in its own scope, with or without @.

alvagante added a commit that referenced this pull request Oct 6, 2013
Only future parser does hash operators apparently
@alvagante alvagante merged commit 3317e17 into example42:devel Oct 6, 2013
@alvagante
Copy link
Member

This fixes the issues with current parser... brilliant!
While making the first tests I found some glitches:
#34
#35

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants