X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fcompiler.c;h=de23f22b6a13f2d2e92784d7dfe5f7f0566ab19b;hb=8a7da6f65154bb96d47695cbcbf42684cccb0aad;hp=8bd8dd290b9ce33296843d41c1d11834d48cd86a;hpb=4da50aa69285c6f5abd97e41dd195648b8df49fe;p=swftools.git diff --git a/lib/as3/compiler.c b/lib/as3/compiler.c index 8bd8dd2..de23f22 100644 --- a/lib/as3/compiler.c +++ b/lib/as3/compiler.c @@ -21,6 +21,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include "common.h" #include "tokenizer.h" #include "files.h" #include "parser.h" @@ -49,7 +50,7 @@ void as3_add_include_dir(char*dir) { add_include_dir(dir); } -void as3_set_option(char*key, char*value) +void as3_set_option(const char*key, const char*value) { if(!strcmp(key, "recurse")) { config_recurse=atoi(value); @@ -198,7 +199,7 @@ void as3_parse_file(const char*filename) compile_list = 0; as3_pass = 1; - as3_parse_file_or_array(filename, fullfilename, 0,0); + as3_schedule_file(filename, fullfilename); as3_parse_scheduled(); registry_resolve_all();