Open eclipse-ocl-bot opened 1 month ago
By Ed Willink on Oct 08, 2014 10:04
As discussed at Models, the status of $ as a character is unclear in the specification, and the code mostly treats it as a special character that is available for use as a non-first letter.
It would probably be sensible to recategorize $ as a letter, simplifying the code and eliminating anomalies.
Minor: Unspecified behavior with a workaround of _'$State$'.
| --- | --- | | Bugzilla Link | 446302 | | Status | NEW | | Importance | P3 minor | | Reported | Oct 08, 2014 08:05 EDT | | Modified | Oct 08, 2014 10:04 EDT | | Reporter | Ralph Gerbig |
Description
Hello,
I use the non xtext based OCL. I have an expression like this:
"self.$State$"
The parser cuts away the first "$" of "$State$" resulting in "State$".
Regards,
Ralph