# drops are in the following order:
# 1. Indexing system stuff
# 2. Meta datatables <not done>
-# 3. Aggregates
+# 3. Aggregates
# 3. Casts
-# 4. Operators
+# 4. Operators
# 5. Functions
# 6. Types
# 7. Tables
{
print "$addprefix AGGREGATE $1 ($2);\n";
}
- else
+ else
{
die "Couldn't parse AGGREGATE line: $agg\n";
}
}
}
-
+
print "-- Register all casts.\n";
foreach my $cast (@casts)
{
if ( ! exists($type_funcs{$fn_nm}) )
{
print "$addprefix FUNCTION $fn_nm ($fn_arg);\n";
- }
+ }
else
{
push(@type_funcs, $fn);