summaryrefslogtreecommitdiff
path: root/lib/sbin/parameter_parser.pl
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-06-03 22:52:44 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-06-03 22:52:44 +0000
commite30fc3301dfae1b0ae0d31b77a11b0f485b35733 (patch)
tree2c52e344ce8962b3dfea07ebc19270d569b74006 /lib/sbin/parameter_parser.pl
parent8f5e23feb7f9757192dbd337ffb9414ecc589078 (diff)
Undo previous patch:
Require quotes for keyword parameter default values again. Note the code is still broken; it requires quotes somewhere in the value, not around it. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4069 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/parameter_parser.pl')
-rw-r--r--lib/sbin/parameter_parser.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbin/parameter_parser.pl b/lib/sbin/parameter_parser.pl
index 6722bbc9..76ef9239 100644
--- a/lib/sbin/parameter_parser.pl
+++ b/lib/sbin/parameter_parser.pl
@@ -429,7 +429,7 @@ sub parse_param_ccl
"$thorn",
'', __LINE__, __FILE__);
}
- elsif ($type =~ m:STRING: && $default !~ m:".*":)
+ elsif ($type =~ m:STRING|KEYWORD: && $default !~ m:".*":)
{
&CST_error(0, "Default given for $type $variable in $thorn " .
"is not a string",