logo       

Re: PHP support questions: msg#00114

text.doxygen.general

Subject: Re: PHP support questions

On Wed, Feb 26, 2003 at 09:22:20PM -0500, Jiann-Ming Su wrote:
> 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.

Which extension were you using?

> 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.

I'll add it to the docs (which are open source too so you can also
contribute documentation ;-)

Regards,
Dimitri



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


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

News | FAQ | advertise