summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/functions/generate.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-07-23 09:50:29 -0700
committerMarkus Roberts <Markus@reality.com>2010-07-25 22:24:38 -0700
commit9569136329f87eeb102e589a3d5e9c26d8632aad (patch)
treee1b8b2bb74ca38f0e8ef25090f3d3b96fae3aa1e /lib/puppet/parser/functions/generate.rb
parent636079f114034f5dced1772da206d1b1b1a537ed (diff)
downloadpuppet-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