HomePhorge

(#10146) `-` is not legal in variable names.
b26699a2b89fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#10146) - is not legal in variable names.

When a bunch of refactoring went on to clean up the grammer and lexer, the -
character became a legal character in variable names. This was not entirely
desired - and contravenes our existing rules for naming.

This adds testing for legal variable names, then applies that across the lexer
to ensure that legal names pass, and illegal names fail.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU7ce9e17cf107: maint: use relative paths to fixtures.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPUb26699a2b89f: (#10146) `-` is not legal in variable names. (authored by Daniel Pittman <daniel@puppetlabs.com>).May 10 2012, 7:53 PM