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

tdb: ELEMENT with missing '!' line terminator can silently eat the next line #57

richardotis opened this issue Oct 20, 2016 · 0 comments


Copy link

@richardotis richardotis commented Oct 20, 2016


$ Note missing '!' in next line
ELEMENT ZR   BCT_A5                    
FUNCTION EMBCCTI    298.15 -39.72; 6000 N !

Current Behavior

The TDB parser will concatenate these lines together like ELEMENT ZR BCT_A5 FUNCTION EMBCCTI 298.15 -39.72; 6000 N. Because the grammar rule for ELEMENTs is so permissive, it will silently ignore everything after the element name.

Expected Behavior

The parser should raise a ParseException.

@richardotis richardotis added the bug label Oct 20, 2016
@richardotis richardotis self-assigned this Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant