Systems-Modeling / SysML-v2-Pilot-Implementation

Proof-of-concept pilot implementation of the SysML v2 textual notation and visualization
GNU Lesser General Public License v3.0
114 stars 23 forks source link

ST6RI-680 An unnecessary `=` is rendered when we use `:=` in feature values. #484

Closed himi closed 11 months ago

himi commented 1 year ago

I thought it had been fixed but maybe due to some merge, this issue again appeared. The fix is just correcting the regular expression pattern.

himi commented 1 year ago

I tested it with

part ppp {
        attribute aa = 10;
        attribute ab := 10;
        attribute ac default 20;
        attribute ad default = 20;
        attribute ae default := 30;
    }

is now rendered as: Screenshot 2023-06-25 at 1 43 13 PM