FPDoc crashes when specialize keyword is used in class ancestor.
Original Reporter info from Mantis: yamer
-
Reporter name: Yann Mérignac
Original Reporter info from Mantis: yamer
- Reporter name: Yann Mérignac
Description:
FPC supports class declarations like this one:
TObjectBlob = class(specialize TGenBlob&LtPos;TObject>) ...
But FPDoc crashes when it encounters this kind of declaration. It seems that fpdoc can parse this kind of code but it crashes when it tries to write documentation.
-----
$ fpdoc --verbose --project=fpdocprj.xml --format=html
FPDoc - Free Pascal Documentation Tool
Version 3.0.0 [2015/11/20]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, sg@freepascal.org
(c) 2005 - 2012 various FPC contributors
Opening source file "unit1.pas".
Writing documentation
Writing 22 pages...
Exception at 00000000004BDA5C: EDOMError:
EDOMError in DOMDocument.CreateElement.
-----
Steps to reproduce:
1/ Unpack the uploaded file "fpdoc_bug_report.tgz".
2/ Run make.
Mantis conversion info:
- Mantis ID: 30810
- OS: Linux
- OS Build: Linux Mageia 5
- Platform: x86_64 GNU/Linux
- Version: 3.0.0
- Monitored by: » yamer (Yann Mérignac)