diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-02-21 22:04:23 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-11-15 02:31:09 +0100 |
| commit | 95620eed233239a678e40b1814bc31d3466d86e7 (patch) | |
| tree | fffafd89d32f13bca197563d1eed5a86e1cc5ccc /validation/arch | |
| parent | 13391893fd91d9fd39dc393e2b90106236783ba7 (diff) | |
| download | sparse-dev-95620eed233239a678e40b1814bc31d3466d86e7.tar.gz | |
option: use handle_switches() for -m flags
The function handle_switch_m(), parsing the -m flags,
consists in a series of strcmp(), each setting a specific
value in one of the internal flag variable.
This can now be simplified by using a table to specify these
variables & values in a compact form.
So, convert the current code to use, if possible, a table &
handle_switches().
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/arch')
0 files changed, 0 insertions, 0 deletions
