Donate Share

Pascal To Doxygen Convertor

Tracker: Bugs

5 implementation variables don't parse correctly - ID: 1609459
Last Update: Comment added ( dak_alpha )

any time a 'var' is found on its own in the implementation, pas2dox opens a
C comment block, but never closes it. Observe:

----------------------------
unit Dictate
[...]
implementation

uses WaveUtilities, WavDataEntry, DBClient, Login, SkinUtils, DBINI_Fnc;

{$R *.DFM}

var
MyError, Flags: longint;

{*
* OpenMedia: open media
}
procedure TfrmDictate.OpenMedia;
[...]
-----------------------------

OpenMedia will NEVER be parsed correctly. No combination of comment
hacking provides a workaround.

is this a pas2dox error, or an error in the pascal source?


David Dombrowsky ( dombrowsky ) - 2006-12-05 18:06

5

Open

None

Nobody/Anonymous

Syntax Handling

v1.0 (example)

Public


Comments ( 2 )




Date: 2009-07-02 19:41
Sender: dak_alpha

I have the same problem. If at the beginning of implementation part is some
vars, or constants (not in funciton or procedure body) then pas2dox opens a
C comment block, but never closes it.


Date: 2006-12-28 09:24
Sender: dbowlesProject Admin


In my code, the commenting of the var section is closed by the appearance
of implementation keyword.

I'll look into whether the valid syntax, in the meantime, you can skip
troublesome sections of code by using {$ifdef DOXYGEN_SKIP} ... {$endif}
statements.


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.