summaryrefslogtreecommitdiffstats
path: root/lib/Config/Grammar.pm
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2005-03-09 18:33:33 +0100
committerNiko Tyni <ntyni@iki.fi>2005-03-09 18:33:33 +0100
commit4d50cc7a6c80ea58ba492a875abcd250d44b1255 (patch)
tree731833451259065ab50fb9d97fc3061fe3cd82fd /lib/Config/Grammar.pm
parent1eda41862b7279427ab2da51b8dd12767118bfa4 (diff)
downloadsmokeping-4d50cc7a6c80ea58ba492a875abcd250d44b1255.tar.gz
smokeping-4d50cc7a6c80ea58ba492a875abcd250d44b1255.tar.xz
* 2.0/lib/Config/Grammar.pm:
+ change the last few ParseConfig references to Config::Grammar
Diffstat (limited to 'lib/Config/Grammar.pm')
-rw-r--r--lib/Config/Grammar.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Config/Grammar.pm b/lib/Config/Grammar.pm
index ede1a48..5bc76a3 100644
--- a/lib/Config/Grammar.pm
+++ b/lib/Config/Grammar.pm
@@ -93,7 +93,7 @@ sub _check_mandatory($$$$)
if (not defined $g->{$_}) {
$g->{$_} = {};
-#$self->{'err'} = "ParseConfig internal error: mandatory name $_ not found in grammar";
+#$self->{'err'} = "Config::Grammar internal error: mandatory name $_ not found in grammar";
#return 0;
}
if (not defined $c->{$_}) {
@@ -201,7 +201,7 @@ sub _next_level($$$)
my $s = $self->_search_section($name);
return 0 unless defined $s;
if (not defined $self->{grammar}{$s}) {
- $self->_make_error("ParseConfig internal error (no grammar for $s)");
+ $self->_make_error("Config::Grammar internal error (no grammar for $s)");
return 0;
}
push @{$self->{grammar_stack}}, $self->{grammar};
@@ -1063,7 +1063,7 @@ documentation of the configuration file format.
The B<maketmpl> method can generate a template configuration file. If
your grammar contains regexp matches, the template will not be all
-that helpful as ParseConfig is not smart enough to give you sensible
+that helpful as Config::Grammar is not smart enough to give you sensible
template data based in regular expressions.
=head2 Grammar Definition