Re: [fpc-devel] MakeSkel problem with operators?

2012-02-20 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: On Mon, 20 Feb 2012 14:04:49 +0100 Hans-Peter Diettrich wrote: Hans-Peter Diettrich schrieb: Hint: FPDoc Editor escapes these characters already :-) But it doesn't insert an space after "operator": The space is not required in Free Pascal. This might

Re: [fpc-devel] MakeSkel problem with operators?

2012-02-20 Thread Hans-Peter Diettrich
michael.vancann...@wisa.be schrieb: In an attempt to check the yet undocumented FCL units for use with FPDoc and MakeSkel, I got an error in the created skeleton for gmp: The "<" and ">" chars in operator names should be escaped in the XML files. Last time this was remarked on, there was

Re: [fpc-devel] MakeSkel problem with operators?

2012-02-20 Thread Mattias Gaertner
On Mon, 20 Feb 2012 14:04:49 +0100 Hans-Peter Diettrich wrote: > Hans-Peter Diettrich schrieb: > > > Hint: FPDoc Editor escapes these characters already :-) > > But it doesn't insert an space after "operator": > The space is not required in Free Pascal. > This might result in proble

Re: [fpc-devel] MakeSkel problem with operators?

2012-02-20 Thread Sven Barth
Am 20.02.2012 14:00, schrieb michael.vancann...@wisa.be: On Mon, 20 Feb 2012, Hans-Peter Diettrich wrote: In an attempt to check the yet undocumented FCL units for use with FPDoc and MakeSkel, I got an error in the created skeleton for gmp: The "<" and ">" chars in operator names should be

Re: [fpc-devel] MakeSkel problem with operators?

2012-02-20 Thread Mattias Gaertner
On Mon, 20 Feb 2012 14:00:44 +0100 (CET) michael.vancann...@wisa.be wrote: > > > On Mon, 20 Feb 2012, Hans-Peter Diettrich wrote: > > > In an attempt to check the yet undocumented FCL units for use with FPDoc > > and > > MakeSkel, I got an error in the created skeleton for gmp: > > > > > >

Re: [fpc-devel] MakeSkel problem with operators?

2012-02-20 Thread Hans-Peter Diettrich
Hans-Peter Diettrich schrieb: Hint: FPDoc Editor escapes these characters already :-) But it doesn't insert an space after "operator": This might result in problems with finding operators (untested), when operators generated by MakeSkel have an space added. DoDi

Re: [fpc-devel] MakeSkel problem with operators?

2012-02-20 Thread michael . vancanneyt
On Mon, 20 Feb 2012, Hans-Peter Diettrich wrote: In an attempt to check the yet undocumented FCL units for use with FPDoc and MakeSkel, I got an error in the created skeleton for gmp: The "<" and ">" chars in operator names should be escaped in the XML files. Last time this was remarked

Re: [fpc-devel] PParser.IsTokenHint deserves an update

2012-02-20 Thread Hans-Peter Diettrich
michael.vancann...@wisa.be schrieb: I have this fixed locally, but it is not yet committed. Thanks for the quick fix :-) I'll check again when committed. DoDi ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mai

[fpc-devel] MakeSkel problem with operators?

2012-02-20 Thread Hans-Peter Diettrich
In an attempt to check the yet undocumented FCL units for use with FPDoc and MakeSkel, I got an error in the created skeleton for gmp: The "<" and ">" chars in operator names should be escaped in the XML files. Is this easy to fix, or should I dig a bit deeper into the MakeSkel code? Hint:

Re: [fpc-devel] PParser.IsTokenHint deserves an update

2012-02-20 Thread michael . vancanneyt
On Mon, 20 Feb 2012, Hans-Peter Diettrich wrote: The extended syntax of hint tokens should be reflected in IsTokenHint. See oldlinux.pp: unit oldlinux deprecated 'Use Baseunix/Unix'; Perhaps it's sufficient to skip the next token after an hint, when it is a string literal? Dunno about the c

[fpc-devel] PParser.IsTokenHint deserves an update

2012-02-20 Thread Hans-Peter Diettrich
The extended syntax of hint tokens should be reflected in IsTokenHint. See oldlinux.pp: unit oldlinux deprecated 'Use Baseunix/Unix'; Perhaps it's sufficient to skip the next token after an hint, when it is a string literal? Dunno about the concrete syntax changes... DoDi __