Am 11.10.2015 15:56 schrieb "MohsenTi" <[email protected]>: > > Hi everybody > > I add new feature to FPC compiler to simplify programming. > this is While - Otherwise working like While - Else in python and has backwards compatibility.
Nice idea with the otherwise. I first thought that this would break case-statements that use otherwise instead of else, but then I remembered that the case-label-blocks can and IMHO should be terminated by ; anyway. At least problems can be easily circumvented. I don't know whether we'll add it to trunk, but I'll at least take a look at your code to give you feedback. Oh, and please provide simple tests for your feature that could be added to our testsuite (in tests/test or tests/tbs) in case we decide to incorporate it. Speaking of which: did you run the testsuite and compared the results to a run without modifications? (If you need help with running the testsuite or interpreting the results, please ask, I have yet to write a wiki page for that...) Regards, Sven
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
