-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential eengine bug: Functions and procedures without parameters #23
Comments
Reported at: http://bz.pdes-ch.org/show_bug.cgi?id=8482 |
From Robert Swindells: http://bz.pdes-ch.org/show_bug.cgi?id=8482#c1
|
My response: Thanks Robert! In this case, what should the correct "procedure call" format be? According to ISO 10303-11, 13.8, the syntax given is:
"actual_parameter_list" is optional. In 13.8 the example given is:
|
Yes, a declaration without params is valid, a call without params throws. |
Functions and procedures without parameters
Declaration:
Call:
eengine throws
Error: ASSIGNMENT_STMT expected ':COLON-EQUAL', got '#\;'
It seems that the spec doesn't explicitly disallow them, or at least I couldn't find where.
ISO 10303-11, 9.5.3 says:
BNF syntax has parameters in
[
]
, which means optionalAre they valid or not?
Originally posted by @zakjan in #11 (comment)
The text was updated successfully, but these errors were encountered: