Issue #7523 has been updated by Nick Lewis. Status changed from Accepted to Needs Decision Assignee set to Nigel Kersten Branch set to https://github.com/nicklewis/puppet/tree/ticket/next/7523
It's unclear whether this should be included in 2.7 or 2.8. A branch is available at https://github.com/nicklewis/puppet/tree/ticket/next/7523 This commit unifies some paths in the grammar, which had previously been duplicated to avoid shift/reduce conflicts. Merging these paths together and separating only the conflicting structures leads to a cleaner grammar, with fewer holes. Several bugs are fixed as a result: (#3129) Nested class names beginning with numbers work correctly (#5268) Hyphens in class names work correctly (#5817) Hashes and arrays can now be passed to functions (hashes require parentheses) Additionally, expressions are now legal in most places where they would make sense, when previously only bare rvalues were allowed. ---------------------------------------- Bug #7523: Refactor the grammar to reduce duplication https://projects.puppetlabs.com/issues/7523 Author: Nick Lewis Status: Needs Decision Priority: Normal Assignee: Nigel Kersten Category: Target version: Affected Puppet version: Keywords: Branch: https://github.com/nicklewis/puppet/tree/ticket/next/7523 There are several nearly-identical branches in the grammar, created to avoid shift/reduce conflicts. These can be unified with some adjustments, to make the grammar cleaner, more consistent, and more correct. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
