Issue #6335 has been updated by Jacob Helwig.

Nan, it looks like there might be a problem with using Racc 1.4.6.  Looking at 
your branch with the updated parser.rb, it doesn't actually have the filename 
it was generated from, and made a bunch of other changes.  The previous 
parser.rb was generated using Racc 1.4.5, and the changes seem a bit strange 
for a minor version difference.

The "missing" generated from file:

    diff --git a/lib/puppet/parser/parser.rb b/lib/puppet/parser/parser.rb
    index 60b272e..ab561cc 100644
    --- a/lib/puppet/parser/parser.rb
    +++ b/lib/puppet/parser/parser.rb
    @@ -1,11 +1,10 @@
     #
     # DO NOT MODIFY!!!!
    -# This file is automatically generated by racc 1.4.5
    -# from racc grammer file "grammar.ra".
    +# This file is automatically generated by Racc 1.4.6
    +# from Racc grammer file "".
     #

----------------------------------------
Bug #6335: Parameterized Class and Defined Resource Type should allow trailing 
comma in argument list
https://projects.puppetlabs.com/issues/6335

Author: Nan Liu
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 2.6.x
Affected Puppet version: 
Keywords: 
Branch: 


Parameterized Class and Defined Resource Type does not allow trailing comma. 
Instead, I would like it to behave like resource attributes where the last 
comma is optional.

    class foo (
       $bar,
       $baz,
    ) {
      ...
    }




-- 
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.

Reply via email to