Sign in Join

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

Mailing lists / lazarus / 2015-10

fpcdoc 2.6.4 does not parse "otherwise" clause of "case" statement (though the compiler does.)

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

AlanCanon

It appears that FPDoc Version 2.6.4 [2015/08/14] doesn't support the "otherwise" clause in Pascal "case" statements (though the compiler supports "otherwise" just fine.) I'm a self-starter, and I'd be motivated to patch FPDoc myself, if it's under active development.program_brand_new.pas Lines 296-303 (from Richard Dawkins' Blind Watchmaker: Arthromorphs)case (GetWRefCon(whichWindow)) of{Do the appropiate window} 2: DrawGrowIcon(whichWindow);{Draw the Grow box} otherwise{Handle others } begin{Others} end;{End of the else}end;{End of the case} The error message returned is:program_brand_new.pas(300,18): Expected "," at token "begin" in file program_brand_new.pas at line 300 column 18

Reply by email

Mattias Gaertner
to AlanCanon
It appears that FPDoc Version 2.6.4 [2015/08/14] doesn't support the "otherwise" clause in Pascal "case" statements (though the compiler supports "otherwise" just fine.)

FPDoc is maintained by the FPC team, not by Lazarus.

I'm a self-starter, and I'd be motivated to patch FPDoc myself, if it's under active development.

Great.
You can submit bug reports and patches here:
http://bugs.freepascal.org/

Mattias

Reply by email

AlanCanon
to Mattias Gaertner

Thanks, I'll go to the proper channel, and patch it myself if I can. I'm working for Richard Dawkins (resuscitating his "Blind Watchmaker" software so that it can run on modern computers) and I'm highly motivated....if I can contribute to the function of the Free Pascal project I will be very happy indeed.

Mattias Gaertner [via Free Pascal - Lazarus] wrote 39 lines
On Wed, 28 Oct 2015 07:16:13 -0700 (MST) AlanCanon <[hidden email] <http:///user/SendEmail.jtp?type=node&node=4045062&i=0>> wrote: > It appears that FPDoc Version 2.6.4 [2015/08/14] doesn't support the > "otherwise" clause in Pascal "case" statements (though the compiler supports > "otherwise" just fine.) FPDoc is maintained by the FPC team, not by Lazarus. > I'm a self-starter, and I'd be motivated to patch > FPDoc myself, if it's under active development. Great. You can submit bug reports and patches here: http://bugs.freepascal.org/ Mattias -- _______________________________________________ Lazarus mailing list [hidden email] <http:///user/SendEmail.jtp?type=node&node=4045062&i=1> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus ------------------------------ If you reply to this email, your message will be added to the discussion below: http://free-pascal-lazarus.989080.n3.nabble.com/fpcdoc-2-6-4-does-not-parse-otherwise-clause-of-case-statement-though-the-compiler-does-tp4045058p4045062.html To unsubscribe from fpcdoc 2.6.4 does not parse "otherwise" clause of "case" statement (though the compiler does.), click here <http://free-pascal-lazarus.989080.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4045058&code=YWxhbmNhbm9uOTAwMEBnbWFpbC5jb218NDA0NTA1OHwtODYwMTY1NTcx> . NAML <http://free-pascal-lazarus.989080.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

Reply by email