[fpc-pascal] Makeskel error or error behind keyboard?

Reinier Olislagers reinierolislagers at gmail.com
Mon Nov 14 17:11:44 CET 2011


Hi list,

Trying to start documenting fpXMLXSDExport:
<some other directory>c:\development\fpc\bin\i386-win32\makeskel
--disable-private --emit-class-separator --update --package=fcl
--input=C:\development\Fpc\Source\packages\fcl-db\src\export\fpxmlxsdexport.pp
--output=fpxmlxsdexport.xml
MakeSkel - FPDoc skeleton XML description file generator
Version 2.5.1 [2011/11/14]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, sg at freepascal.org

Error while documenting: Expected "," or ":" at token "=" in file
C:\development\Fpc\Source\packages\fcl-db\src\export\fpxmlxsdexport.pp
at line 70 column 24
Done.

Snippet of the code in question:
  { TCustomXMLXSDExporter }
  TCustomXMLXSDExporter = class(TCustomFileExporter)
  const
    DefaultDatasetName = 'Table1';  <========== this is where it bombs
    // Name used for the exported table/dataset if no other name can be
found.
  private
    FANode: TDOMNode; //Just a placeholder for a node which can be reused

Am I doing something wrong or is makeskel in error?

(FreePascal fixes_2_6, as of today)

One other thing: looking at the FPC reference guide for constants
(Chapter 2.1), I see this declaration:
constant declaration - identifier - = - expression - hintdirectives -;

However, hintdirectives doesn't seem to be explained later on (did a
search on it in the PDF).
Hintdirectives returns in 11 Using functions and procedures: 11.1
procedure declaration, 11.2 Function declaration

Should the documentation be updated or is it once again a problem
between the chair and the computer?

Thanks,
Reinier



More information about the fpc-pascal mailing list