"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "compile.h" between
jq-1.5.tar.gz and jq-1.6.tar.gz

About: jq is a lightweight and flexible command-line JSON processor.

compile.h  (jq-1.5):compile.h  (jq-1.6)
skipping to change at line 31 skipping to change at line 31
block gen_const(jv constant); block gen_const(jv constant);
block gen_const_global(jv constant, const char *name); block gen_const_global(jv constant, const char *name);
int block_is_const(block b); int block_is_const(block b);
int block_is_const_inf(block b); int block_is_const_inf(block b);
jv_kind block_const_kind(block b); jv_kind block_const_kind(block b);
jv block_const(block b); jv block_const(block b);
block gen_op_target(opcode op, block target); block gen_op_target(opcode op, block target);
block gen_op_unbound(opcode op, const char* name); block gen_op_unbound(opcode op, const char* name);
block gen_op_bound(opcode op, block binder); block gen_op_bound(opcode op, block binder);
block gen_op_var_fresh(opcode op, const char* name); block gen_op_var_fresh(opcode op, const char* name);
block gen_op_pushk_under(jv constant);
block gen_module(block metadata); block gen_module(block metadata);
jv block_module_meta(block b); jv block_module_meta(block b);
block gen_import(const char* name, block metadata, const char *as, int is_data); block gen_import(const char* name, const char *as, int is_data);
block gen_import_meta(block import, block metadata);
block gen_function(const char* name, block formals, block body); block gen_function(const char* name, block formals, block body);
block gen_param_regular(const char* name); block gen_param_regular(const char* name);
block gen_param(const char* name); block gen_param(const char* name);
block gen_lambda(block body); block gen_lambda(block body);
block gen_call(const char* name, block body); block gen_call(const char* name, block body);
block gen_subexp(block a); block gen_subexp(block a);
block gen_both(block a, block b); block gen_both(block a, block b);
block gen_const_object(block expr); block gen_const_object(block expr);
block gen_collect(block expr); block gen_collect(block expr);
block gen_reduce(block source, block matcher, block init, block body); block gen_reduce(block source, block matcher, block init, block body);
block gen_foreach(block source, block matcher, block init, block update, block e xtract); block gen_foreach(block source, block matcher, block init, block update, block e xtract);
block gen_definedor(block a, block b); block gen_definedor(block a, block b);
block gen_condbranch(block iftrue, block iffalse); block gen_condbranch(block iftrue, block iffalse);
block gen_and(block a, block b); block gen_and(block a, block b);
block gen_or(block a, block b); block gen_or(block a, block b);
block gen_dictpair(block k, block v);
block gen_var_binding(block var, const char* name, block body); block gen_var_binding(block var, const char* name, block body);
block gen_array_matcher(block left, block curr); block gen_array_matcher(block left, block curr);
block gen_object_matcher(block name, block curr); block gen_object_matcher(block name, block curr);
block gen_destructure(block var, block matcher, block body); block gen_destructure(block var, block matcher, block body);
block gen_destructure_alt(block matcher);
block gen_cond(block cond, block iftrue, block iffalse); block gen_cond(block cond, block iftrue, block iffalse);
block gen_try_handler(block handler); block gen_try_handler(block handler);
block gen_try(block exp, block handler); block gen_try(block exp, block handler);
block gen_label(const char *label, block exp); block gen_label(const char *label, block exp);
block gen_cbinding(const struct cfunction* functions, int nfunctions, block b); block gen_cbinding(const struct cfunction* functions, int nfunctions, block b);
void block_append(block* b, block b2); void block_append(block* b, block b2);
block block_join(block a, block b); block block_join(block a, block b);
skipping to change at line 76 skipping to change at line 80
int block_has_only_binders(block, int bindflags); int block_has_only_binders(block, int bindflags);
int block_has_main(block); int block_has_main(block);
int block_is_funcdef(block b); int block_is_funcdef(block b);
int block_is_single(block b); int block_is_single(block b);
block block_bind(block binder, block body, int bindflags); block block_bind(block binder, block body, int bindflags);
block block_bind_library(block binder, block body, int bindflags, const char* li bname); block block_bind_library(block binder, block body, int bindflags, const char* li bname);
block block_bind_referenced(block binder, block body, int bindflags); block block_bind_referenced(block binder, block body, int bindflags);
block block_drop_unreferenced(block body); block block_drop_unreferenced(block body);
jv block_take_imports(block* body); jv block_take_imports(block* body);
jv block_list_funcs(block body, int omit_underscores);
int block_compile(block, struct bytecode**, struct locfile*); int block_compile(block, struct bytecode**, struct locfile*, jv);
void block_free(block); void block_free(block);
// Here's some horrible preprocessor gunk so that code // Here's some horrible preprocessor gunk so that code
// sequences can be contructed as BLOCK(block1, block2, block3) // sequences can be contructed as BLOCK(block1, block2, block3)
#define BLOCK_1(b1) (b1) #define BLOCK_1(b1) (b1)
#define BLOCK_2(b1,b2) (block_join((b1),(b2))) #define BLOCK_2(b1,b2) (block_join((b1),(b2)))
#define BLOCK_3(b1,b2,b3) (block_join(BLOCK_2(b1,b2),(b3))) #define BLOCK_3(b1,b2,b3) (block_join(BLOCK_2(b1,b2),(b3)))
#define BLOCK_4(b1,b2,b3,b4) (block_join(BLOCK_3(b1,b2,b3),(b4))) #define BLOCK_4(b1,b2,b3,b4) (block_join(BLOCK_3(b1,b2,b3),(b4)))
 End of changes. 6 change blocks. 
2 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)