diff options
author | Markus Roberts <Markus@reality.com> | 2010-07-23 09:50:29 -0700 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-07-25 22:24:38 -0700 |
commit | 9569136329f87eeb102e589a3d5e9c26d8632aad (patch) | |
tree | e1b8b2bb74ca38f0e8ef25090f3d3b96fae3aa1e /lib/puppet/parser/functions/generate.rb | |
parent | 636079f114034f5dced1772da206d1b1b1a537ed (diff) | |
download | puppet-9569136329f87eeb102e589a3d5e9c26d8632aad.tar.gz puppet-9569136329f87eeb102e589a3d5e9c26d8632aad.tar.xz puppet-9569136329f87eeb102e589a3d5e9c26d8632aad.zip |
Fix for 4314 -- Need to allow '-' in class name for refs
I almost changed this to correspond to the lexer pattern ([a-z0-9][-\w]*) but
that isn't quite right either (it would reintroduce the '::' problem). Another
option I considered was [^\[]+, but that has it's own problems. In the end I
just made the minimal change, adding '-' to the acceptable characters.
Diffstat (limited to 'lib/puppet/parser/functions/generate.rb')
0 files changed, 0 insertions, 0 deletions