Vincent Snijders wrote:
willem schreef:
I try to generate xml with fpdoc, but I get an error message


xml isn input for fpdoc. To generate fpdoc xml use makeskel.

Vincent

Ok, I have done that.

output is now :

MakeSkel - FPDoc skeleton XML description file generator
Version 2.2.0 [2007/08/30]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, [EMAIL PROTECTED]

Done.
FPDoc - Free Pascal Documentation Tool
Version 2.2.0 [2007/08/30]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, [EMAIL PROTECTED]

Invalid format "XML-STRUCT" specified
regexdna.xml(1,1): Expected "unit" at token "<"
Writing 1 pages...
Done.

There is a unit in the program: but not in the xml file :
{Gentoo : IntelĀ® PentiumĀ® 4
Computer Language Benchmarks Game
Frequently Asked Questions

regex-dna benchmark | Pascal Free Pascal | regex-dna full data
regex-dna Pascal Free Pascal program
N      CPU Time secs     Memory Use KB     GZip Bytes
500,000    4.37    11,436    1193


 The Computer Language Benchmarks Game
 http://shootout.alioth.debian.org

 regex-dna benchmark using libpcre

 contributed by Vitaly Trifonov
*}
unit regexdna;

{$Mode objfpc}
{$INLINE ON}

{$IFNDEF DEBUG}
{$CHECKPOINTER OFF}
{$RANGECHECKS OFF}
{$OVERFLOWCHECKS OFF}
{$IOCHECKS OFF}
{$ENDIF}
interface

uses sysutils;

(****************************** pcre wrap *****************************)

const
 libpcre = 'pcre';
 PCRE_CASELESS = $00000001;

type
 pcre = Pointer;
 pcre_extra = Pointer;
 PPChar = ^PChar;

implementation

function pcre_compile( const pattern: PChar;
                      options: Integer;
                      const errptr: PPChar;
                      erroffset: PInteger;
const tableptr: PChar ): pcre; cdecl; external libpcre;
Regards Wim

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to