diff options
author | Mark Wielaard <mjw@redhat.com> | 2010-02-19 00:11:18 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2010-02-19 12:48:17 +0100 |
commit | 4227f98d2100dbae5009a39e05177c090886ed3f (patch) | |
tree | 92d8a2b5f91b47a9fa7647ffccafb2b4a5434962 /includes/sys | |
parent | 717a457b697a46b8904792d59cf568d848fb2a73 (diff) | |
download | systemtap-steved-4227f98d2100dbae5009a39e05177c090886ed3f.tar.gz systemtap-steved-4227f98d2100dbae5009a39e05177c090886ed3f.tar.xz systemtap-steved-4227f98d2100dbae5009a39e05177c090886ed3f.zip |
Allow CONFIG_foo COMPARISON-OP CONFIG_bar in preprocessor conditionals.
* parse.cxx (eval_pp_conditional): If rhs and lhs are both CONFIG_...
identifiers try to convert them both to numbers or otherwise threat
them both as strings for eval_comparison.
* testsuite/semok/config_config.stp: New test.
Diffstat (limited to 'includes/sys')
0 files changed, 0 insertions, 0 deletions