diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-06-10 00:40:34 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-06-12 21:41:29 +0200 |
| commit | f8dc0b0fc2a06238700a4939fad1f76e748fdf12 (patch) | |
| tree | d70676ba0c78d93214c5448f7980680e10dde2bb /Makefile | |
| parent | 935cf032524fe828ac9c4ef54c131bbae26bd1a9 (diff) | |
| download | sparse-dev-f8dc0b0fc2a06238700a4939fad1f76e748fdf12.tar.gz | |
builtin: unify the 2 tables of builtins
Till now, 2 tables are used to initialize builtin functions:
* an older, small one, without type information, used to set
a symbol_op to evaluate and/or expand the ones that have
some associated behaviour.
* a newer and bigger one which only contains what is effectively
the prototype for these builtins in order to avoid warnings
about undeclared functions.
It's kinda annoying to have 2 tables for this, even more so
because most entries in the first table also need to be in the
second one (for arguments type and number checking).
Fix this by:
* adding a field in the second table for the symbol_op
* merging or moving the entries in the first table into
the second one.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
