if (success && is_enum && num_enum_values == 0)
// Empty enum statement. Add an empty "values" class variable
- enum_add_values_member(cl, &classmembers, 0, &type_list);
+ success = enum_add_values_member(cl, &classmembers, 0, &type_list);
/*
* Check a few things
|| (imp = find_imported(name, 0, FALSE)) != NULL
|| (imp = find_imported_from_extends(cctx, name, 0, FALSE))
!= NULL)
- res = compile_load_scriptvar(cctx, name, *arg, &end, imp);
+ res = compile_load_scriptvar(cctx, name, *arg, &end, imp);
// When evaluating an expression and the name starts with an
// uppercase letter it can be a user defined function.