Am I doing a simple program in which the events of the Ternary operator should be counted ?: In the C source code. And I'm trying to simplify it as much as possible. So I have filtered these things with the source code:
- string literals ""
- character constants ''
- sequence view ?? =,?
- Comments
- Macros
And now I'm only counting incidents of questions.
So my question is whether there is any other symbol, operator or any other problem that can cause problems - '' '?'?
Suppose source syntax is valid.
I think you meet all the places where question marks are introduced and therefore all possible False positives (for triangle session) are eliminated. Maybe you've ended too much: maybe you want to count those "": "" which are offered by macros; You do not count those people, do you intend it? If it is, then you have done it.
Comments
Post a Comment