summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-10-30 15:39:23 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-10-30 15:39:23 (GMT)
commit35461e5fe44be0537e60fd659fec9215181d4fd0 (patch)
tree8a4741ee2963a25e91f1e4dd07706dfe3fd5f52c /src
parentad9be5fb2339151f1d75a6c9aba4226e48a81ae1 (diff)
downloadDoxygen-35461e5fe44be0537e60fd659fec9215181d4fd0.zip
Doxygen-35461e5fe44be0537e60fd659fec9215181d4fd0.tar.gz
Doxygen-35461e5fe44be0537e60fd659fec9215181d4fd0.tar.bz2
issue #7358: Ternary conditional and null-coalescing operator in constructor results in faulty warning
Problem due to the implementation of "Support for C# nullable types (Origin: bugzilla #638606)" (issue #4064, pull request #645). The used condition was a bit to stringent so later on the function was not recognized as constructor.
Diffstat (limited to 'src')
-rw-r--r--src/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 61b51cb..c8951e5 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -6923,7 +6923,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
}
}
<*>\? {
- if (insideCS)
+ if (insideCS && (YY_START != SkipRound))
{
if (current->type.isEmpty())
{