Skip to content
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: Error parsing binary and encoded string expression in constant #24

Open
ronaldtse opened this issue Nov 19, 2020 · 2 comments
Assignees

Comments

@ronaldtse
Copy link
Contributor

Another interesting error is with binary and encoded string expression in constant.

CONSTANT
  binaryExpression : BINARY := %011110000111100001111000;
END_CONSTANT;

or

CONSTANT
  encodedStringExpression : STRING := "000000780000007800000078";
END_CONSTANT;

Fails with:

Error: CONSTANT_BODY expected '#\;', got 'P11:END_CONSTANT'

Is there anything wrong about this? Or eengine doesn't fully cover the spec?

Originally posted by @zakjan in #11 (comment)

@ronaldtse
Copy link
Contributor Author

From @TRThurman:

Please add Robert Swindells to this email thread.
Robert is the developer responsible for eengine these days.
This particular structure is not used in ISO 10303 nor have I ever seen it in a schema, so I personally don't care about it.
Robert can advise further.

@ronaldtse
Copy link
Contributor Author

Reported at: http://bz.pdes-ch.org/show_bug.cgi?id=8483

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant