aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sysdep.c
diff options
context:
space:
mode:
authorPascal Obry <obry@adacore.com>2018-05-30 08:58:00 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-05-30 08:58:00 +0000
commit42e508b45d21b195109424f62f454fa619f1cc29 (patch)
treea87aa0628e5e9ab69e979ea746f01e0c3b04ebdc /gcc/ada/sysdep.c
parent7cc6d416ae9fa0e476523d30ab403fa3fd5970c2 (diff)
downloadgcc-42e508b45d21b195109424f62f454fa619f1cc29.zip
gcc-42e508b45d21b195109424f62f454fa619f1cc29.tar.gz
gcc-42e508b45d21b195109424f62f454fa619f1cc29.tar.bz2
[Ada] Add support for Define_Switch with a callback in GNAT.Command_Line
Add support for Define_Switch with a callback in GNAT.Command_Line. The callback is called for every instance of the switch found on the command line. This make it possible to have full control over the switch value and chain multiple actions if needed. 2018-05-30 Pascal Obry <obry@adacore.com> gcc/ada/ * libgnat/g-comlin.ads (Value_Callback, Define_Switch): New. * libgnat/g-comlin.adb: Add corresponding implementation. From-SVN: r260940
Diffstat (limited to 'gcc/ada/sysdep.c')
0 files changed, 0 insertions, 0 deletions