summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/grammar.ra
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/grammar.ra')
-rw-r--r--lib/puppet/parser/grammar.ra4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/grammar.ra b/lib/puppet/parser/grammar.ra
index aea9b404d..5bf96c254 100644
--- a/lib/puppet/parser/grammar.ra
+++ b/lib/puppet/parser/grammar.ra
@@ -570,11 +570,11 @@ arguments: argument
}
argument: NAME EQUALS rvalue {
- Puppet.warning addcontext("Deprecation notice: #{val[0].value} must now include '$' in prototype")
+ Puppet.warning addcontext("Deprecation notice: must now include '$' in prototype")
result = [val[0], val[2]]
}
| NAME {
- Puppet.warning addcontext("Deprecation notice: #{val[0].value} must now include '$' in prototype")
+ Puppet.warning addcontext("Deprecation notice: must now include '$' in prototype")
result = [val[0]]
} | VARIABLE EQUALS rvalue {
result = [val[0], val[2]]