diff --git a/call.inc.php b/call.inc.php index 653de71d..9e206c9e 100644 --- a/call.inc.php +++ b/call.inc.php @@ -1,6 +1,9 @@ $match) { $field = array( "field" => str_replace("``", "`", $match[2]) . $match[3], "type" => $match[4], //! type aliases - "length" => $match[5], //! replace \' by '', replace "" by '' + "length" => preg_replace_callback("~$length~s", 'normalize_enum', $match[5]), "unsigned" => ($match[6] ? "unsigned" : ""), // zerofill ignored "null" => true, );