summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-04-09 11:57:24 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-04-09 11:57:24 (GMT)
commit0e45c10d7db6dc82aa0828df7e30ec4c8c5a1f97 (patch)
tree7d162b578d176ff5e4cde1acb0fa6f5e2cb64d35
parent4c03fcc7b11fcf57e40fe1568132e62e7c4d5ef1 (diff)
downloadDoxygen-0e45c10d7db6dc82aa0828df7e30ec4c8c5a1f97.zip
Doxygen-0e45c10d7db6dc82aa0828df7e30ec4c8c5a1f97.tar.gz
Doxygen-0e45c10d7db6dc82aa0828df7e30ec4c8c5a1f97.tar.bz2
Bug 764515 - doxygen crashes no resolved
Crash occurred in the rule: <UsingAlias>. due to the fact that the previous variable was not set by the rule <JavaImport>({ID}{BN}*"."{BN}*)+{ID}
-rw-r--r--src/scanner.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 6e94a20..6c69224 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -1977,6 +1977,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
current->section=Entry::USINGDECL_SEC;
}
current_root->addSubEntry(current);
+ previous = current;
current = new Entry ;
initEntry();
BEGIN(Using);