-Subproject commit 730d0849dd264a9bade1ea7c3746715d0068443c
+Subproject commit b932136274811c52694dc7f2d3c9de0832e6b64b
do if(list->stmt->stmt_type == ae_stmt_pp) {
if(list->stmt->d.stmt_pp.pp_type == ae_pp_include)
env->name = list->stmt->d.stmt_pp.data;
- else if(list->stmt->d.stmt_pp.pp_type == ae_pp_require)
+ else if(list->stmt->d.stmt_pp.pp_type == ae_pp_import)
CHECK_BB(plugin_ini(env->gwion, list->stmt->d.stmt_pp.data));
} while((list = list->next));
return GW_OK;
-#require NonExisting
+#import NonExisting
var ftbl f;
<<< var SinOsc s >>>;
-#require get_module
+#import get_module
<<< __file__ >>>;
-#require array
+#import array
<<< __file__ >>>;
-#require array_in_var_name
+#import array_in_var_name
<<< __file__ >>>;
-#require array_in_var_name_fail
+#import array_in_var_name_fail
<<< __file__ >>>;
-#require array_incoherent_in_var_name
+#import array_incoherent_in_var_name
<<< __file__ >>>;
-#require array_invalid_in_var_name
+#import array_invalid_in_var_name
<<< __file__ >>>;
-#require callback
+#import callback
<<< __file__ >>>;
-#require class_template
+#import class_template
var ClassTemplate:[int, int] ct;
<<< ct.key >>>;
-#require class_template_fail
+#import class_template_fail
<<< __file__ >>>;
-#require class_template_invalid
+#import class_template_invalid
<<< __file__ >>>;
-#require compile_file
+#import compile_file
<<< __file__ >>>;
-#require compile_string
+#import compile_string
<<< __file__ >>>;
-#require coverage
-#require coverage
+#import coverage
+#import coverage
<<< var float f >>>;
var Coverage c;
-#require deps
+#import deps
<<< __file__ >>>;
-#require empty_union
+#import empty_union
<<< __file__ >>>;
-#require end_class
+#import end_class
<<< __file__ >>>;
-#require enum
+#import enum
#! untyped global enum
<<< ENUM0 >>>;
<<< ENUM1 >>>;
-#require enum_fail
+#import enum_fail
<<< __file__ >>>;
-#require enum_fail2
+#import enum_fail2
<<< __file__ >>>;
-#require enum_fail3
+#import enum_fail3
<<< __file__ >>>;
-#require extend_array
+#import extend_array
var ArrayExt a;
<<< a >>>;
<<< a.size() >>>;
-#require fail_on_next_arg
+#import fail_on_next_arg
<<< __file__ >>>;
-#require fail_on_next_arg2
+#import fail_on_next_arg2
<<< __file__ >>>;
-#require fptr
+#import fptr
fun void test(){ <<< "test" >>>; }
var PtrType ptr;
test();
-#require fptr_tmpl
+#import fptr_tmpl
<<< __file__ >>>;
-#require fptr_tmpl_fail
+#import fptr_tmpl_fail
<<< __file__ >>>;
-#require func_fail
+#import func_fail
<<< __file__ >>>;
-#require func_fail2
+#import func_fail2
<<< __file__ >>>;
-#require func_fail3
+#import func_fail3
<<< __file__ >>>;
-#require func_fail4
+#import func_fail4
<<< __file__ >>>;
-#require func_subscript_not_empty
+#import func_subscript_not_empty
<<< __file__ >>>;
-#require func_tmpl
+#import func_tmpl
test:[int](1);
test(1);
-#require func_tmpl_fail
+#import func_tmpl_fail
<<< __file__ >>>;
-#require func_too_many_arg
+#import func_too_many_arg
<<< __file__ >>>;
-#require global_func
+#import global_func
<<< test >>>;
<<< 1 => test >>>;
-#require global_var
+#import global_var
<<< i >>>;
<<< "other test" => i >>>;
<<< 12 => f >>>;
-#require invalid_arg
+#import invalid_arg
<<< __file__ >>>;
-#require invalid_array
+#import invalid_array
<<< __file__ >>>;
-#require invalid_func
+#import invalid_func
<<< __file__ >>>;
-#require invalid_names
+#import invalid_names
<<< __file__ >>>;
-#require invalid_names0
+#import invalid_names0
<<< __file__ >>>;
-#require invalid_names1
+#import invalid_names1
<<< __file__ >>>;
-#require invalid_names2
+#import invalid_names2
<<< __file__ >>>;
-#require invalid_names3
+#import invalid_names3
<<< __file__ >>>;
-#require invalid_type1
+#import invalid_type1
<<< __file__ >>>;
-#require invalid_type2
+#import invalid_type2
<<< __file__ >>>;
-#require invalid_type3
+#import invalid_type3
<<< __file__ >>>;
-#require mk_type_array
+#import mk_type_array
<<< __file__ >>>;
-#require no_import
+#import no_import
<<< __file__ >>>;
-#require not_importing
+#import not_importing
<<< __file__ >>>;
-#require op_already_imported
+#import op_already_imported
#! [contains] already imported
<<< 1 >>>;
-#require pass
+#import pass
<<< __file__ >>>;
-#require specialid_emit
+#import specialid_emit
<<< testid >>>;
-#require static_string
+#import static_string
#!<<< StaticString.self >>>;
<<< self >>>;
-#require str2td
+#import str2td
<<< __file__ >>>;
-#require str2list_fail
+#import str2list_fail
<<< __file__ >>>;
-#require struct
+#import struct
<<< var float f >>>;
var Struct c;
-#require template_arg
+#import template_arg
<<< __file__ >>>;
-#require trig
+#import trig
var Trig trig => dac;
adc :=> trig;
adc :=< trig;
-#require typedef
+#import typedef
var Typedef t;
#!fun int test(int i) { <<< i >>>; }
#!test @=> t;
-#require typedef_fail
+#import typedef_fail
<<< __file__ >>>;
-#require typedef_tmpl
+#import typedef_tmpl
<<< __file__ >>>;
-#require ugen_connect
+#import ugen_connect
<<< __file__ >>>;
-#require union
+#import union
var Union u;
<<< u.i >>>;
<<< 12 => u.f >>>;
-#require union_fail_exp
+#import union_fail_exp
<<< __file__ >>>;
-#require union_member
+#import union_member
<<< __file__ >>>;
-#require union_name
+#import union_name
<<< my_union >>>;
<<<my_union.i>>>;
-#require union_tmpl
+#import union_tmpl
<<< var U:[Event] u>>>;
<<< u.a >>>;
-#require union_tmpl_fail
+#import union_tmpl_fail
<<< __file__ >>>;
-#require union_tmpl_fail2
+#import union_tmpl_fail2
<<< __file__ >>>;
-#require union_tmpl_fail3
+#import union_tmpl_fail3
<<< __file__ >>>;
-#require variadic
+#import variadic
<<< "test builtin variadic fun" >>>;
var Variadic v;
"iiii" => var string format;
-#require vm_remove
+#import vm_remove
test(12);
test(1);