原文:
Re: Help for too many arguments in %md block
Unread post by Brehministrator » Sun Nov 03, 2024 2:53 am
That is an internal error of the input interpreter which was not expected to happen. There is no such thing as a limit on the argument count in the MD input. It is just a bug. I am sorry for the inconvenience.
The bug is already fixed since months in my local developer version, but as the changes were made together with the addition of a few new features, the bugfix could unfortunately not make it into ORCA 6.0.1, which is strictly a bugfix release without new features.
In the meantime, please just end each line with a semicolon (";"), it should help. The next feature release (maybe ORCA 6.1) will have this issue fixed.
Best regards,
Martin
P.S.: If you should be interested in the underlying cause: The MD input language is very permissive with respect to syntax. You can have multiple function calls in one line, and no semicolons or parentheses around the function arguments are required. Therefore, the parser figures out by itself which tokens are still arguments to the last function call, or which tokens are separate function calls on their own. During this check, there was a stupid bug with this arbitrary 64 argument limit. With the semicolons at the line endings, the parser can be sure that the function call is finished there and no more arguments will follow on the next line. Therefore this workaround works. 作者Author: Dempey 时间: 2025-4-15 15:48