diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-05-21 11:32:27 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-05-21 11:32:27 +0300 |
commit | f5f9ad5a144999f7c788119cc21d967734ae0dba (patch) | |
tree | c65c817e401c8264212e1b7abad9ac2fa18ece94 /lib/forlan.c | |
parent | dc2eda2489f6f8e9bd699c3968edd0710b3adb73 (diff) | |
download | eclat-f5f9ad5a144999f7c788119cc21d967734ae0dba.tar.gz eclat-f5f9ad5a144999f7c788119cc21d967734ae0dba.tar.bz2 |
Various minor fixes.
* doc/eclat.conf.5: Document EC2 maps.
* etc/eclat.cfin: Provide default maps.
* lib/Makefile.am (AM_LFLAGS): Remove -v.
* lib/bidimap.c (cb_submap): Remove unused variable.
* lib/forlan.c: Minor change.
* lib/forlangrm.y: Declare prototype for yylex.
* lib/forlanlex.l: Add option nounput
* lib/libeclat.h (eclat_map) <locus>: New member.
* lib/map.c (eclat_map_config): Warn if attempting to
redeclare an existing map.
* src/ec2map.c (ec2_map_get): Minor change.
Diffstat (limited to 'lib/forlan.c')
-rw-r--r-- | lib/forlan.c | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/lib/forlan.c b/lib/forlan.c index ecdb7a3..d2f1c69 100644 --- a/lib/forlan.c +++ b/lib/forlan.c @@ -726,21 +726,24 @@ struct forlan_node_method { }; static struct forlan_node_method f_tab[] = { - free_type_null, dump_null, eval_null, /* Unknown/unset type */ - free_type_comp, dump_comp, eval_comp, /* A path component */ - free_type_test, dump_test, eval_test, /* Value test (f[X]) */ - free_type_func, dump_func, eval_func, /* Function call */ - free_type_cond, dump_cond, eval_cond, /* Conditional */ - free_type_stmt, dump_stmt, eval_stmt, /* Statement */ - free_type_lit, dump_lit, eval_lit, /* Literal */ - free_type_expr, dump_expr, eval_expr, /* Boolean expression */ - free_type_last, dump_last, eval_last, /* "last" */ - free_type_asgn, dump_asgn, eval_asgn, /* Variable assignment */ - free_type_var, dump_var, eval_var, /* Variable reference */ - free_type_loop, dump_loop, eval_loop, /* Loop */ - NULL, dump_continue, eval_continue, /* continue statement */ - NULL, dump_break, eval_break, /* break statement */ - NULL, dump_stop, eval_stop, /* stop statement */ + { free_type_null, dump_null, eval_null }, /* Unknown/unset type */ + { free_type_comp, dump_comp, eval_comp }, /* A path component */ + { free_type_test, dump_test, eval_test }, /* Value test (f[X]) */ + { free_type_func, dump_func, eval_func }, /* Function call */ + { free_type_cond, dump_cond, eval_cond }, /* Conditional */ + { free_type_stmt, dump_stmt, eval_stmt }, /* Statement */ + { free_type_lit, dump_lit, eval_lit }, /* Literal */ + { free_type_expr, dump_expr, eval_expr }, /* Boolean expression */ + { free_type_last, dump_last, eval_last }, /* "last" */ + { free_type_asgn, dump_asgn, eval_asgn }, /* Variable assignment */ + { free_type_var, dump_var, eval_var }, /* Variable reference */ + { free_type_loop, dump_loop, eval_loop }, /* Loop */ + { NULL, dump_continue, eval_continue }, /* continue + statement */ + { NULL, dump_break, eval_break }, /* break + statement */ + { NULL, dump_stop, eval_stop }, /* stop + statement */ }; void |