diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2015-01-24 00:59:35 +0100 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2015-02-08 16:54:58 -0800 |
| commit | 40791b94c56b1a6da2a0ddeb1f9d5c9d64de8f93 (patch) | |
| tree | 1ee8e890740c4a8eec3c8a2ce49fe40e706458bf /test-lexing.c | |
| parent | de1fa7e60d3d179a1b67c47a0429b2d0ac4e4842 (diff) | |
| download | sparse-dev-40791b94c56b1a6da2a0ddeb1f9d5c9d64de8f93.tar.gz | |
Teach sparse about the __COUNTER__ predefined macro
__COUNTER__ macro is expanded to a sequential number starting from 0.
This is sometimes used to declare unique variable names.
Implement support for __COUNTER__ in sparse including a set of
small test programs for the test suite.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'test-lexing.c')
0 files changed, 0 insertions, 0 deletions
