$name = trim(substr($field, 0, -1)); # FIXME: stop this from getting enc_caption()ed
$type = '{';
$options = null;
- } elseif(substr($field, -1) == '{') {
- $name = 'ignored';
- $type = '}';
- $options = null;
} else {
list($name, $type, $options) = split(' *', $field);
if($options) $options = explode(',', $options);