Bug 552345 - [[qvtr] Improve error tolerance
Summary: [[qvtr] Improve error tolerance
Status: NEW
Alias: None
Product: QVTd
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-23 07:06 EDT by Ed Willink CLA
Modified: 2019-10-23 07:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2019-10-23 07:06:05 EDT
A bad ';' in QVTr source leafs to errors that can be really hard to fix.

THe grammar might be much improved by allowing

';' following more '}' particularly at the end of domains.

',' at the end of of comma-separated list

';' as an alternative to ',' separation.
Comment 1 Ed Willink CLA 2019-10-23 07:15:08 EDT
(In reply to Ed Willink from comment #0)
> ';' following more '}' particularly at the end of domains.

The problme is that the typical

domain x { ... }

might be 

domain x { ... } ... default_values { ... }

so a trailing ; is mandated contrary to the expectation that } finishes.

key also has a mandatory '}' ';' finish.