X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fmklib.c;h=f32c1f791d4f86ede051be9dfba589342f15cf81;hb=1ce3a5e5e8958b1a0e76e099b067a863549ded4f;hp=b243ffc08efef25c9438854f4232c0d357289a82;hpb=a1dde8db3bde6aa26562dadae696d5d54ef752d2;p=swftools.git diff --git a/lib/as3/mklib.c b/lib/as3/mklib.c index b243ffc..f32c1f7 100644 --- a/lib/as3/mklib.c +++ b/lib/as3/mklib.c @@ -1,8 +1,8 @@ -/* code.c +/* mklib.c File to generate builtin.c - Copyright (c) 2008 Matthias Kramm + Copyright (c) 2008,2009 Matthias Kramm This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -125,6 +125,7 @@ char*mktype(slotinfo_t*s) } else if(s->kind == INFOTYPE_VAR) { return "varinfo_t"; } + return "**ERROR**"; } void write_slotinfo(FILE*fi, slotinfo_t*s, char*id, char*prefix); @@ -310,5 +311,5 @@ int main() fprintf(fi, " _Infinity_constant.f = __builtin_inf();\n"); fprintf(fi, " return d;\n"); fprintf(fi, "}\n"); - + return 0; }