pchady
07-Jan-2004, 01:23 PM
Hi -
(Boy I love this tool and recommend it to many!)
I have a user at my company asking how to force a particular
line within C++ comments to be treated as important by BC.
It looks like in the rules definition, that text inside
a string literal would override the "unimportant" classification, but this does not seem to work.
- Am I using it wrong?
- which way should the "all other text is unimportant" box be checked?
Here's the example:
These lines are marked as an unimportant difference:
// Text XXX
// Text YYY
I'd like those to remain unimportant, but for these
to be important:
// Text "XXX"
// Text "YYY"
Actually, what I REALLY want, is for these to be important:
//| SCCS Info: @(#) ExecSchedulers.c 1.7 03/12/05 12:41:47
//| SCCS Info: @(#) ExecSchedulers.c 1.9 03/12/06 10:03:00
and I was hoping to be able to treat the @(
as the start of a string literal, once I got the first
step to work.
This is a "version" tag line from the Tower Concepts RAZOR configuration management tool, and probably also customized for our use with source code.
I was using BC 2.0.2, and have now tried it in 2.0.3, but
seems no different.
I haven't tried the Beta yet.
Any help appreciated,
Thanks!
Pete
(Boy I love this tool and recommend it to many!)
I have a user at my company asking how to force a particular
line within C++ comments to be treated as important by BC.
It looks like in the rules definition, that text inside
a string literal would override the "unimportant" classification, but this does not seem to work.
- Am I using it wrong?
- which way should the "all other text is unimportant" box be checked?
Here's the example:
These lines are marked as an unimportant difference:
// Text XXX
// Text YYY
I'd like those to remain unimportant, but for these
to be important:
// Text "XXX"
// Text "YYY"
Actually, what I REALLY want, is for these to be important:
//| SCCS Info: @(#) ExecSchedulers.c 1.7 03/12/05 12:41:47
//| SCCS Info: @(#) ExecSchedulers.c 1.9 03/12/06 10:03:00
and I was hoping to be able to treat the @(
as the start of a string literal, once I got the first
step to work.
This is a "version" tag line from the Tower Concepts RAZOR configuration management tool, and probably also customized for our use with source code.
I was using BC 2.0.2, and have now tried it in 2.0.3, but
seems no different.
I haven't tried the Beta yet.
Any help appreciated,
Thanks!
Pete