logo       

Re: PHP support questions: msg#00097

text.doxygen.general

Subject: Re: PHP support questions

On Wed, 26 Feb 2003, Julien Laumonier wrote:

> Jiann-Ming Su wrote:
> > I also have a PHP question. Seems like doxygen only likes php files ending
> > in .php. I've included in FILE_PATTERNS my other php files, put in
> > proper doxygen comments, but it fails to do anything useful. What do
> > I need to do, short of renaming with .php, to make doxygen work with my
> > other php files? Thanks for any help.
> >
>
> I know what you mean, i had the same problem.
>
> Since the Doxygen-1.3-rc1-20021207 CVS version, doxygen supports .php4
> file. .inc files are also supported. If you want to have another
> extention, you should change the file scanner.l line 396 :
>
> insidePHP = fileName.right(4)==".php" || fileName.right(4)==".inc" ||
> fileName.right(5)==".php4";
>

Thanks! I modified the code, and now my doxygen exectuable accepts
the php files without .php extension.

The docs or doxywizard should be a bit smarter about letting the
user know what are acceptable file extensions.

Either way, open source is pretty cool.

--
Jiann-Ming Su jsu2@xxxxxxxxx 404-712-2603
Development Team Systems Administrator
General Libraries Systems Division



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise