Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2004-12

Problem with PASSRC units

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

While attempting to run MAKESKEL/FPDOC against the Windows system unit, I got an error on the line TPCharArray = packed array [ ..... stating 'Expected record at token array'
In researching this problem, I found that the PASSRC units only handled packed records, although the packed directive is also valid for arrays, objects and classes. The attached patches add that support pscanner, pastree and paswrite. MAKESKEL and FPDOC now work fine.

Thanks for all your fine work

Dave Strodtman

Reply by email

Michael Van Canneyt
to Unknown author
Show quoted text 7 lines
While attempting to run MAKESKEL/FPDOC against the Windows system unit, I got an error on the line TPCharArray = packed array [ ..... stating 'Expected record at token array' In researching this problem, I found that the PASSRC units only handled packed records, although the packed directive is also valid for arrays, objects and classes. The attached patches add that support pscanner, pastree and paswrite. MAKESKEL and FPDOC now work fine.

Did you use the latest CVS for this, because I corrected this already for the system unit docs less than a week ago ?

I will have a look at the patch anyway, thanks!

Michael.

Reply by email

Michael Van Canneyt
to Michael Van Canneyt
Michael Van Canneyt wrote 16 lines
On Sun, 5 Dec 2004 wrote: > While attempting to run MAKESKEL/FPDOC against the Windows system unit, I > got an error on the line TPCharArray = packed array [ ..... > stating 'Expected record at token array' > In researching this problem, I found that the PASSRC units only handled > packed records, although the packed directive is also valid for arrays, objects > and classes. The attached patches add that support pscanner, pastree and > paswrite. MAKESKEL and FPDOC now work fine. Did you use the latest CVS for this, because I corrected this already for the system unit docs less than a week ago ? I will have a look at the patch anyway, thanks!

My apologies. Seems I didn't commit my patch yet :/ I applied yours.

Michael.

Reply by email