bartavelle / language-puppet

A library to work with Puppet manifests, test them and eventually replace everything ruby.
BSD 3-Clause "New" or "Revised" License
51 stars 8 forks source link

Small tweak for the parser #256

Closed PierreR closed 5 years ago

PierreR commented 5 years ago

I would assume this is slightly more performant.

Seems to work. Prefer to PR as the parser is rather a touchy part.

PierreR commented 5 years ago

I have merged this. Should be alright.

The only thing that has puzzled me is the second commit. Why many was used when parsing variable name ?

bartavelle commented 5 years ago

Probably a bug?