implementation variables don't parse correctly
Status: Beta
Brought to you by:
dbowles
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?
Logged In: YES
user_id=73730
Originator: NO
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.
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.