diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-02-17 10:37:24 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-05-06 16:38:35 +0200 |
| commit | 1f5c32f43fb1e52fe6a81512b71a539b96ee8c31 (patch) | |
| tree | 9a6a1c890ef319531b51c590b394314920641e95 /Makefile | |
| parent | 551b85c8a241bd45b267db152eca4cb01eddce39 (diff) | |
| download | sparse-dev-1f5c32f43fb1e52fe6a81512b71a539b96ee8c31.tar.gz | |
use function-like syntax for __range__
One of sparse's extension to the C language is an operator
to check ranges. This operator takes 3 operands: the expression
to be checked and the bounds.
The syntax for this operator is such that the operands need to
be a 3-items comma separated expression. This is a bit weird
and doesn't play along very well with macros, for example.
Change the syntax to a 3-arguments function-like operator.
NB. Of course, this will break all existing uses of this
extension not using parenthesis around the comma
expression but there doesn't seems to be any.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
