HomePhorge

(PUP-4133) Fix interpolation for variables with leading underscore
52f887f76340Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4133) Fix interpolation for variables with leading underscore

Prior to this commit, if string interpolation was done on a variable
that had a leading underscore in the name (i.e. ${bar::_foo}), puppet
would fail with an "illegal fully qualified name" error from
the lexer.

In order to ensure that such variable names can be interpolated
properly, update the lexer so that it will create WORD tokens for
variable names with leading underscores, rather than exiting with
an "illegal fully qualified name" error.

Details

Event Timeline

Hailee Kenney <hailee@puppetlabs.com> committed rPU52f887f76340: (PUP-4133) Fix interpolation for variables with leading underscore (authored by Hailee Kenney <hailee@puppetlabs.com>).Mar 12 2015, 1:28 AM