summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sbin/create_c_stuff.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/sbin/create_c_stuff.pl b/lib/sbin/create_c_stuff.pl
index e4ad29c4..af68a0da 100644
--- a/lib/sbin/create_c_stuff.pl
+++ b/lib/sbin/create_c_stuff.pl
@@ -207,7 +207,10 @@ sub set_parameter_code
{
$quoted_range = $parameter_database{"\U$implementation $parameter\E range $range range"};
- $quoted_range =~ s:\":\\\":g;
+ #$quoted_range =~ s:\":\\\":g;
+ $quoted_range =~ s:\"::g;
+ $quoted_range =~ s:^\s*::;
+ $quoted_range =~ s:\s*$::;
$line .= ",\"".$quoted_range."\"";
@@ -456,7 +459,7 @@ sub order_params
push(@string_params, $parameter);
}
elsif($type eq "LOGICAL" ||
- $type eq "INTEGER")
+ $type eq "INTEGER")
{
push(@int_params, $parameter);
}