11 return 'NULL' unless defined $value;
12 return qq|_T
("$value")|;
17 return $value ?
"true" : "false";
20 sub print_element
($) {
35 print_element
(c_string
($rec{key
}));
36 print_element
(c_string
($rec{sound
}));
37 print_element
(c_bool
(not $rec{hide
} or $rec{hide
} ne "yes"));
38 print_element
($rec{delay
}) if exists $rec{delay
};
43 } elsif (/^([a-z0-9]+)\s*=\s*"*([^"]*)"*$/) {
46 die "Error on line $.\n";